Skip to content

Instantly share code, notes, and snippets.

@anujonthemove
Last active January 2, 2020 12:56
Show Gist options
  • Save anujonthemove/aa22279beb6641a081f6190e3a0c0ba6 to your computer and use it in GitHub Desktop.
Save anujonthemove/aa22279beb6641a081f6190e3a0c0ba6 to your computer and use it in GitHub Desktop.
SSH User Configuration File
# taken entirely from: https://dzone.com/articles/password-less-ssh-access-for-automation
## Proxy ##
## Forward all local port 8888 traffic to port 8888 on the remote server ##
Host <your host name>
HostName <your IP>
ForwardX11 yes
User <your username>
IdentityFile /path/to/<your pem file>.pem
LocalForward localhost <or some of your IP>:8888 <server IP address>:8888
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment