LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-15-2016, 02:55 AM   #1
LYC
Member
 
Registered: Jan 2014
Posts: 107

Rep: Reputation: Disabled
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.
 
Old 01-15-2016, 05:26 AM   #2
wpeckham
Senior Member
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 3,046

Rep: Reputation: 1332Reputation: 1332Reputation: 1332Reputation: 1332Reputation: 1332Reputation: 1332Reputation: 1332Reputation: 1332Reputation: 1332Reputation: 1332
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.
 
Old 01-15-2016, 05:30 AM   #3
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 13,102

Rep: Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144
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
 
Old 01-15-2016, 05:39 AM   #4
aizkorri
Member
 
Registered: Feb 2002
Location: Basque Country
Distribution: Fedora 14, Ubuntu 14.04
Posts: 434
Blog Entries: 1

Rep: Reputation: 55
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/
 
Old 01-15-2016, 08:13 AM   #5
LYC
Member
 
Registered: Jan 2014
Posts: 107

Original Poster
Rep: Reputation: Disabled
Hi aizkorri,

It works.

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Putty logon issue after ssh configuration linux_x86 Linux - Software 2 07-29-2014 06:35 PM
x11 forward display+ssh+putty ixion2600 Linux - Desktop 3 08-19-2013 03:29 PM
Apache Configuration to forward to Tomcat ciphyre Linux - Server 0 10-10-2008 12:14 AM
Sendmail: Store and Forward Configuration Ghostwheel Linux - Server 1 08-01-2008 03:03 PM
openssh and putty configuration help johnson407 Mandriva 2 12-15-2004 11:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration