Created
April 26, 2014 13:02
-
-
Save rejuvyesh/11319572 to your computer and use it in GitHub Desktop.
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
# For turing and other cse servers | |
Host vyom | |
HostName vyom.cc.iitk.ac.in | |
User jayeshkg | |
IdentityFile ~/.ssh/cse | |
Host turing | |
HostName turing.cse.iitk.ac.in | |
User jayeshkg | |
IdentityFile ~/.ssh/cse | |
Host login | |
HostName login.cse.iitk.ac.in | |
User jayeshkg | |
IdentityFile ~/.ssh/cse | |
Host github.com | |
IdentityFile ~/.ssh/github | |
Host git.cse.iitk.ac.in | |
IdentityFile ~/.ssh/git.cse | |
Host archmirror | |
Hostname mirror.cse.iitk.ac.in | |
User archlinux | |
IdentityFile ~/.ssh/arch-mirror | |
Host students | |
Hostname students.iitk.ac.in | |
User rejuvyesh | |
IdentityFile ~/.ssh/students.iitk | |
# This creates a tunnel from to cselabs | |
# -w 5 is the timeout to prevent stray netcats | |
# %h stands for hostname | |
# %p for port | |
# -e none makes the connection transparent | |
Host cselabs | |
User jayeshkg | |
ProxyCommand ssh -e none login nc -w 5 csews20.cse.iitk.ac.in %p | |
Host courses4 | |
User jayeshkg | |
ProxyCommand ssh -e none cselabs nc -w 5 csecourses4.cse.iitk.ac.in %p | |
Host by_turing | |
User jayeshkg | |
Proxycommand ssh -e none vyom nc -w 5 turing.cse.iitk.ac.in %p | |
Host by_cselabs | |
User jayeshkg | |
Proxycommand ssh -e none by_turing nc -w 5 csews30.cse.iitk.ac.in %p | |
Host by_courses4 | |
User jayeshkg | |
Proxycommand ssh -e none by_cselabs nc -w 5 csecourses4.cse.iitk.ac.in %p | |
Host navya | |
Hostname navya.junta.iitk.ac.in | |
User rejuvyesh | |
IdentityFile ~/.ssh/navya | |
Proxycommand corkscrew proxy.iitk.ac.in 3128 navya.junta.iitk.ac.in %p | |
Host csenight | |
Hostname csews30.cse.iitk.ac.in | |
User jayeshkg | |
IdentityFile ~/.ssh/cse | |
Proxycommand corkscrew proxy.iitk.ac.in 3128 csews30.cse.iitk.ac.in %p |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment