> -----Original Message----- > From: Balint, Jess [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, June 26, 2002 2:58 PM > To: 'Shishir K. Singh' > Cc: '[EMAIL PROTECTED]' > Subject: RE: Opening a shell with perl. > > > Yes. That seems like it will serve as a good base, but what I > need is some > way to spawn a shell on computer A to computer B. Kind of a > backwards telnet > thing.
Script A opens TCP connection to known port on server B. If connection succeeds, script A hooks up stdin/stdout/stderr to the socket and then forks and execs the shell. script B now has a socket hooked to the shell running as user A on server A. I dunno how secure this is, but the script would seem trivial. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]