4 ms·
SSH is great but rapidly becomes less so once companies decide to put their servers behind some times cascaded SSH gateways, so you need to know which magic inv
by clausecker 2y ago
SSH is great but rapidly becomes less so once companies decide to put their servers behind some times cascaded SSH gateways, so you need to know which magic invocation of jump hosts to put in to have your connection go through anyway.
- dspillett 2y agoYou can simplify this for hosts you talk to regularly by configuring them in your .ssh/config file(s), as shown in https://wiki.gentoo.org/wiki/SSH_jump_host https://wiki.gentoo.org/wiki/SSH_jump_host A bit of faf for one-off or infrequent connections, but a great time saver for regular interactive use.
- clausecker 2y agoSure, but the setup really sucks for transitive jump hosts. It would be cool if SSH supported bang paths to access a remote host via various jump hosts, like `foo!bar!baz@quux` to access `baz@quux` by jumping through foo and then bar.