4 ms·
Alternatively just use jump hosts: $(ssh -J bastion target)
by yuvadam 4y ago
Alternatively just use jump hosts: $(ssh -J bastion target)
- penguin_booze 4y agoOh, I didn't know about the -J option. At $WORK, after ssh-ing onto the jump host, we've to do 'sudo -u special_user sudosh' (no password) before we ssh further. I don't suppose there's any way around that, is there?
- maratc 4y agoProxyCommand may help you; see [0] [0] https://sshmenu.sourceforge.net/articles/transparent-mulithop.html https://sshmenu.sourceforge.net/articles/transparent-mulitho...