[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Sheflug] RSH NT to Linux
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> -----Original Message-----
> From: shef-lug-admin [at] list.sheflug.org.uk
> [mailto:shef-lug-admin [at] list.sheflug.org.uk]On Behalf Of Barrie
> Bremner Sent: 29 November 2002 20:01
> To: shef-lug [at] list.sheflug.org.uk
> Subject: [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.
It's purely within our firewall on local services. Neither machine
has any external paths through the firewall. Why bother? Bandwith
isn't a problem - both are on the same 100Mb switch and the transfer
takes place at the dead of night when our systems are under minimal
load... the current data transfer only takes five minutes and the
mySQL database import takes a couple of minutes.
I just need something quick.
- --
David
-----BEGIN PGP SIGNATURE-----
Version: PGP 7.0.4
iQA/AwUBPeiXCHKr1pTNQbC4EQKdpgCeMLn+PSgI2/Be2wr1v12M8tymtf0AoJ5D
UIzGo7BHjTe8qBFfN1+1cUs1
=q/3J
-----END PGP SIGNATURE-----
___________________________________________________________________
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 ;
}