yish8213
3/29/2017 - 5:51 AM

SSH config file example

SSH config file example

Host example
     User user
     HostName example.com
     IdentityFile ~/.ssh/example.key
Host tunnel
     HostName database.example.com
     IdentityFile ~/.ssh/example.key
     LocalForward 3306 destination_address
     User user