I have ssh
configured to automatically forward through the bastion host:
Host bastion_host
HostName bastion.example.com
Host internal_host
ProxyCommand ssh -q bastion_host nc -q0 internal_host.dmz 22
User internal_user
This works. However, if I try to connect via mosh I get the following error:
$ mosh internal_host
/usr/local/bin/mosh: Could not resolve hostname internal_host
ssh_exchange_identification: Connection closed by remote host
/usr/local/bin/mosh: Did not find remote IP address (is SSH ProxyCommand disabled?).
What I'm looking for is a mosh
connection from my system to the bastion host and a normal ssh
tunnel from the bastion host to internal hosts. Possible?