--- Sjoerd Hooft's InFormation Technology ---

User Tools

Site Tools



Would you like to sponsor this site?
Or buy me a beer?:

Recently Changed Pages:

View All Pages
View All Q Pages

View All Tags

Sign up for Q to post comments.

WIKI Disclaimer: As with most other things on the Internet, the content on this wiki is not supported. It was contributed by me and is published “as is”. It has worked for me, and might work for you.
Also note that any view or statement expressed anywhere on this site are strictly mine and not the opinions or views of my employer.

Terms And Conditions for Q users

Pages with comments

2019/06/22 10:36 1 Comment
2019/03/15 16:02 1 Comment
2019/03/15 16:02 1 Comment
2019/03/15 16:02 3 Comments
2017/04/20 15:28 1 Comment
2017/04/20 15:23 1 Comment
2017/04/19 14:44 1 Comment
2017/04/17 20:10 1 Comment
2017/04/17 20:07 1 Comment
2017/04/17 19:58 1 Comment
2017/04/17 19:52 1 Comment

View All Comments


Create A SSL Port Tunnel

Target: Access a SFTP Server which is only accessible by a production box. Production Box: AIX with SSH/SSL capabilities, login is possible. SFTP Server: Login credentials are available.

Used Tools: Putty for the tunnel, WinSCP to connect

Create A Tunnel

  • Open and load the putty profile of the server who is able to access the sftp server.
  • Go to Connection → SSH → Tunnels
  • Fill in the Source Port, any port that's not in use and above the 1024 will do.
  • Fill in the Destination address, and add the port the sftp server is listening on. This is typically port 22, so: <ipaddress>:22
  • Check the Local and the IPv4 buttons
  • And click Add:


Configure SFTP Client

  • Open WinSCP and create a new session.
  • As hostname, fill in localhost.
  • As portnumber, fill in the portnumber as configured in the 'Create A Tunnel' section.
  • Click Save:


Use The Tunnel

You should now login to the production box using putty, so the tunnel is created. After logging in you can start winscp to use the created session to log into the sftp server.

You could leave a comment if you were logged in.
porttunnel.txt · Last modified: 2013/05/14 20:37 by sjoerd