[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Sheflug] RSH NT to Linux



 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm looking to set up some procedures passing data between our NT
databases (no ODBC) and mySQL on Linux, and want to use RSH to
initiate the transfer. The transfer and import scripts already exist
as shell scripts on the Linux box, and other than using cron to run
the two jobs, would really like to use RSH from the NT box to set the
process off on the Linux box.

I've never used rsh before, so am looking for clues...

I've enabled the rshd service in inetd on the Linux box;

   shell stream tcp nowait root /usr/sbin/tcpd in.rshd -aL

When I try a simple command on the NT box, I get

  H:\>RSH 192.168.199.3 -l david ls
  192.168.199.3: remuser toRSH: can't establish connection

...so I guess I'm overlooking something fundamental.

Help, advice or clues sought please!!

Thanks,

- -- 
David

-----BEGIN PGP SIGNATURE-----
Version: PGP 7.0.4

iQA/AwUBPeeQ3HKr1pTNQbC4EQKZQQCcDQelgOgd61d2x7LuGOK/65OJGjgAoMyS
WOu53GDfuIl3rmMKNFr2GUoe
=mpxy
-----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 ;
}