Re: ssh to a 3rd party telnet program

From: David Howe <DaveHowe_at_**********.***>
Date: Wed Dec 03 2003 - 09:22:39 EST

> I have installed Cygwin and configured sshd on Windows 2000 Server.
> Following the very clear instructions from your site everything went
> smoothly and I can log into cygwin on port 22. What I would like to do is
> log into a different program (D3/Pick - a telnet application) listening on
> a different TCP port (ie not 22), but when I attempt my log in both my ssh
> clients crash with errors about malformed packets and incorrect
> implementations of the SSH protocol.
I think you are confusing "raw" SSH with a tunnelling or wrapper protocol.
SSH is also a tunnelling protocol, but is not a wrapper. Instead what you
must do is open a connection to port 22 on the remote machine *and* as part
of that connection, open a tunnel from a port on your machine to the D3/Pick
port on the remote machine.
on the command line, that would be -L <your port>:127.0.0.1:<D3/Pick port> -
other ssh clients have similar abilities (personally I recommend puTTY,
which has a nice pretty gui to configure such things in)

when you do this, you should find yourself with a cygwin login as before...
*but* if you connect to the <your port> port on your local machine, you will
find SSH "picks up" that connection, encrypts it, and forwards it to the
"real" D3/Pick port on your remote machine - which I believe is the effect
you are after.

Similar packages to achieve tunnelling are STunnel and Zebedee. Transparent
encryption is the realm of something called VPN, which is a lot more complex
than tunnelling but often gives better results. Windows 2000 server has a
VPN server built in, but it is awkward to configure. OpenVPN
(http://openvpn.sourceforge.net/) is another approach to vpn that uses SSL
crypto rather than the extremely complex IPSec protocols.

but regardless - try the tunnel setup as above (you may as well, you already
have the ssh server installed and configured) and that will work fine.

--
List Information: http://tech.erdelynet.com/mailman/listinfo/ssh-l/
List Archives:    http://erdelynet.com/archive/ssh-l/
To Unsubscribe: Go to http://tech.erdelynet.com/mailman/options/ssh-l#subscribers
and enter your email address at the bottom.
If you don't know your password, have it emailed to you. Then unsubscribe.
Received on Wed Dec 3 09:24:31 2003

This archive was generated by hypermail 2.1.8 : Fri Jul 29 2005 - 17:34:03 EDT