SSH from within OpenSSH

Hussain Akbar hussainakbar at gmail.com
Sat Jan 12 01:41:53 EST 2013


Angel

Your are one **** smart fellow. You have no idea how smart. Really
brilliant.

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.

Thanks again
Hussain


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: 1.2.3.4: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 1.2.3.4 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:1.2.3.4:22 username at 5.6.7.8
> (replace 5.6.7.8 with the hostname/ip of the W2K server)
>
>


More information about the openssh-unix-dev mailing list