4 ms·
An alternative to ProxyCommand is ssh -t, as in "ssh -t gateway ssh inside_machine". ControlMaster is definitely the way to go for the original problem w/ the O
by fragmede 17y ago
An alternative to ProxyCommand is ssh -t, as in "ssh -t gateway ssh inside_machine". ControlMaster is definitely the way to go for the original problem w/ the OTP setup. "ssh -t" is usable on arbitrary terminals for places where gateway is password accessible (and handy when you have to pay per static public IP).
- DEinspanjer 17y agoThanks for the tip. I fought with ssh -t before and just couldn't get it working in my example above. I'm trying again now. Maybe what needs to happen is I need to give up on having my ssh_config as the central location defining my aliases and instead use bash aliases to give me the short name connect.