SHIFT

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

User Tools

Site Tools


Sidebar

Recently Changed Pages:

View All Pages


View All Tags


LinkedIn




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.


Pages with comments

View All Comments

porttunnel

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:

porttunnel01.jpg

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:

porttunnel02.jpg

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: 2021/09/24 00:25 (external edit)