SSH Port Forwarding

This is useful if you are trying to transfer files from server A to C, where C is behind a firewall. An example is if you want to scp files from your home computer to a server within the AOS network. This will require in intermediary server B and in our example this is our SSH Gateway, Put the following into your ~/.ssh/config file.

User username
ProxyCommand ssh -W %h:%p -q

After putting this in you can simply run the command ssh This will tunnel you through to your target host. The -W %h:%p is doing the forwarding and -q is simply suppressing output errors.

VNC Configuration


  • ssh_help/start.txt
  • Last modified: 2020/06/05 21:20
  • by henryz