LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Putty with forward configuration (https://www.linuxquestions.org/questions/linux-newbie-8/putty-with-forward-configuration-4175564003/)

LYC 01-15-2016 02:55 AM

Putty with forward configuration
 
Hi,

I have a PC with putty installed. The PC can ssh using putty to Linux server1 but not server2 and; server1 can ssh to server2.

Is it possible to ssh from the PC to server2 by configuring the tunnel setting in putty?

I have tried key-in in putty's tunnel setting with source port of any number (eg:8888) and server1's IP address in Destination but to no avail.

Thanks in advance for any pointer.

wpeckham 01-15-2016 05:26 AM

Just an FYI ...
 
I do not use that feature of putty, but I DO configure putty to connect to a server and run the command to ssh to another beyond it. With keys enabled, it connects so quickly, your session on server2 comes up so fast, that it is not clear that you 'stepped forward' to get the session.

pan64 01-15-2016 05:30 AM

would be nice to see exactly what have you tried/entered, otherwise hard to say anything.
http://www.revsys.com/writings/quick...sh-tunnel.html
I suggest you to set up tunneling from server1 to server2 and you can use putty to connect server1:8888 and will reach server2

aizkorri 01-15-2016 05:39 AM

I think that what you mean might be explained here:
Create own virtual private network for ssh with putty:
https://www.getfilecloud.com/blog/cr...sh-with-putty/

LYC 01-15-2016 08:13 AM

Hi aizkorri,

It works.

Why Tunnel setting is using Dynamic port and Why SOCK4 in the proxy setting? How it works?


All times are GMT -5. The time now is 05:33 PM.