LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-29-2012, 04:14 PM   #1
aminbaik
Member
 
Registered: Feb 2012
Posts: 44

Rep: Reputation: Disabled
ssh tunnel putty


hello,
in putty i can make ssh tunnel but what i have to put on the remote port?!
thanks.
 
Old 04-29-2012, 06:22 PM   #2
es0teric
Member
 
Registered: Apr 2007
Distribution: Ubuntu
Posts: 105

Rep: Reputation: 19
Probably 22, but it depends on how the remote server is configured.

http://www.revsys.com/writings/quick...sh-tunnel.html
 
Old 04-29-2012, 06:59 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,681

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
What service if any are you trying to tunnel?
 
Old 04-29-2012, 09:16 PM   #4
aminbaik
Member
 
Registered: Feb 2012
Posts: 44

Original Poster
Rep: Reputation: Disabled
sorry i dont understand your question.
 
Old 04-29-2012, 09:30 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,681

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
Please explain what you are trying to accomplish. If you are just connecting to a remote computer using SSH then the default is port 22 as stated.
 
Old 04-30-2012, 02:57 AM   #6
aminbaik
Member
 
Registered: Feb 2012
Posts: 44

Original Poster
Rep: Reputation: Disabled
hello,
regarding my question i am try to tunneling througe ssh.
in putty under ssh there is a tab named tuunel.
thanks.
 
Old 04-30-2012, 06:42 AM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,681

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
In a nutshell a SSH tunnel is a means to transfer unencrypted data over an encrypted channel. Typically the data is a TCP/IP protocol like email, web or a database server and the source port is the port used by the service on the remote computer. For example I've included a link to tunnel mysql over SSH. The source port is the port that mysql uses which is 3306. Depending on the version of putty you are running the setup pages may not look the same. The local port can be the same or different depending on what services the local computer is running but typically an unprivileged i.e. >1024.

If you wanted to tunnel a web server then the source port would typically be 80 and the local port be anything >1024 so lets pick 8080. Once connected, in your web browser you would use the URL localhost:8080. You should now see the default page of the remote web server.

http://realprogrammers.com/how_to/se...ith_putty.html
 
  


Reply



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
SSH TUNNEL PROBLEM(putty to OpenSSH) Le Hara Linux - Security 3 03-26-2006 10:34 PM
SSH tunnel using PuTTy - Samba jackster Linux - Security 4 02-12-2005 04:07 PM
VNC with Putty Tunnel port ziggie216 Linux - Software 10 12-02-2003 08:32 PM
VNC with Putty Tunnel LinuxHaven Linux - Security 15 08-30-2003 01:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:11 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
Open Source Consulting | Domain Registration