by lclarkmichalek · 11y ago · 0 comments
# proxy n02 connections through bastion
host n02.university.edu
ProxyCommand ssh bastion.university.edu -W %h:%p 2> /dev/null
Almost all my remote shells require a similar setup.I have over 300 hosts defined in my .ssh/config file and it's indispensable to have all these options, especially when mixing in 2FA jump hosts into the mix.