[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Sheflug] RSH NT to Linux
>>>>> "David" == David Morris <david [at] allvac.co.uk> writes:
David> I'm looking to set up some procedures passing data between
David> our NT databases (no ODBC) and mySQL on Linux, and want to
David> use RSH to initiate the transfer. The transfer and import
David> scripts already exist as shell scripts on the Linux box,
David> and other than using cron to run the two jobs, would really
David> like to use RSH from the NT box to set the process off on
David> the Linux box.
David> I've never used rsh before, so am looking for clues...
Why not use SSH instead? Encryption and compression. MMmmmm.
Rsh makes me nervous.
Baz.
--
Barrie J. Bremner
baz-sheflug [at] barriebremner.com http://barriebremner.com/
___________________________________________________________________
Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html
GNU the choice of a complete generation.
#!/usr/bin/perl -w
# Strip all line of this form from html messages
# From: "French, Alastair" <Alastair.French [at] racalinst.co.uk>
while (<>){
$_=~s/(^.*:.*[ <])(\w.*)(@.*)/$1nospam$3/;
print unless /^Delivered-To:/i ;
}