How would script a hookup st in/out/err to the socket? 

-----Original Message-----
> -----Original Message-----
> 
> 
> 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]

Reply via email to