Created
April 7, 2014 13:07
-
-
Save jbernhard/10019953 to your computer and use it in GitHub Desktop.
This file contains 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
# | |
# ~/.ssh/config | |
# | |
# how to automate ssh logins | |
# this is my setup, obviously change your username and grads-XX | |
# I use | |
# ssh phy : for the main physics login server | |
# ssh ws : my workstation, while on campus | |
# ssh ws2 : my workstation, while off campus | |
# and you can make it passwordless by running 'ssh-keygen phy' | |
Host phy ws ws2 osg | |
User jeb65 | |
Host phy | |
HostName login.phy.duke.edu | |
Host ws ws2 | |
HostName grads-ad.internal.phy.duke.edu | |
Host ws2 | |
Compression yes | |
ProxyCommand ssh phy -W %h:%p | |
Host osg | |
HostName osg-xsede.grid.iu.edu | |
Host gh | |
HostName github.com | |
User git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment