On 28/06/2006, at 9:48 AM, David Guest wrote:

Most end lusers use Windows however and putty provides an adequate ssh
client for them. This is what we roll out. A similar Windows script
calling the putty command line tool at the end is quite feasible, I
guess, but doing things under Windows is always harder.

telnet host 5000
telnet host 6000
etc
plink -ssh [EMAIL PROTECTED] -N -i [path and file of private key] -L 127.0.0.2:3389:[Internal IP of host to connect to]:3389

Example sshs to the remote SSH server and forwards local port of any host on that LAN for RDP connection.
-N means no shell, as you don't get a legible shell in a DOS box anyway.

Do this then RDP to 127.0.0.2

Will take some time as you'll need to wait for each telnet to time out, and this is not adjustable in Windows telnet command. Of course you can do the same thing using native ssh with Cygwin or the ssh client for Windows itself (not free for commercial use).

cheers,
Peter.

_______________________________________________
Gpcg_talk mailing list
[email protected]
http://ozdocit.org/cgi-bin/mailman/listinfo/gpcg_talk

Reply via email to