Created
January 22, 2014 17:49
-
-
Save maxmanders/8563639 to your computer and use it in GitHub Desktop.
Example per-user SSH Config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Host * | |
# Forward remote X11 connections to run a remote GUI app locally | |
forwardx11 yes | |
# Only offer up keys defined with IdentityFile below, rather than all keys | |
identitiesonly yes | |
cipher arcfour | |
compression yes | |
# If using ssh-agent, forward that to remote jump host to avoid copying private keys | |
forwardagent yes | |
# Don't kill connetions too quickly | |
serveraliveinterval 60 | |
# Don't use this auth type, slow and rarely used | |
gssapiauthentication no | |
Host some-friendly-name | |
identityfile /path/to/key | |
hostname fqdn-of-host | |
user user-to-login-with | |
port port-to-use-22-by-default | |
# Add more definitions below |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment