|
|
|
|
|
by jlgaddis
4719 days ago
|
|
I haven't looked at it all, but it sounds like you're wanting something like the functionality that SSH's "ProxyCommand"? As an example, we lockdown our servers so that they are only accessible via SSH from a few hosts. I got tired of SSH'ing into server A just to SSH into server B, so I set up my ~/.ssh/config file so that when I "ssh serverB", it uses the ProxyCommand functionality to basically do that for me. Here's what it looks like in ~.ssh/config: Host serverB
ProxyCommand ssh serverA.example.com -W %h:%p
When I "ssh serverB", it connects to serverA first and then connects to serverB. I could be wrong but it sounds like that is what you were talking about. |
|
ProxyCommand looks pretty cool though, wasn't aware of it - thanks!