SSH from within OpenSSH
hussainakbar at gmail.com
Sat Jan 12 01:41:53 EST 2013
Your are one **** smart fellow. You have no idea how smart. Really
Thanks a million. The PuTTY solution works perfectly. All cursor keys work.
The plink solution didn't work; it gave me a session on the W2K3 server
instead of Linux. Or did you mean to run plink first?
In case case, problem solved.
On Fri, Jan 11, 2013 at 4:23 PM, Ángel González <keisial at gmail.com> wrote:
> On 11/01/13 06:54, Hussain Akbar wrote:
> > My first try was to make an SSH tunnel. Have been trying all sort of
> > combinations in PuTTY but can't figure out how. The ultimate aim would
> > be to not be forced to get an interactive session on the Windows
> > server at all but go directly to the Linux server.
> > I tried what things I could in PuTTY's tunnel options, but no joy so far.
> > I posted this to various newsgroups but from the feedback I've been
> > getting, most people say it can't be done.
> In PuTTY go to Connection/SSH/Tunnels
> Source port: 1234
> Destination: 220.127.116.11:22
> Press Add
> Connect to W2K as usual. Ignore its console.
> Open a new PuTTY instance, but connect to 127.0.0.1 on port 1234
> You will get a connection to the Linux server.
> (Replace 18.104.22.168 with the hostname/ip of your Linux server, 1234 can be
> changed to an arbitrary port)
> I don't think you can completely skip the console allocation with
> PuTTY.exe, but you can do it with plink:
> plink -N -L 1234:22.214.171.124:22 username at 126.96.36.199
> (replace 188.8.131.52 with the hostname/ip of the W2K server)
More information about the openssh-unix-dev