You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ~/.ssh/config file is not considered when running the mosh client. It would be great to do so, because with many server to connect to the shortcuts are handy.
The file mosh is a Perl script which calls ssh in order to invoke mosh-server on the remote machine. So this does honor host aliases in ~/.ssh/config by default. I've used this feature successfully with Mosh.
Of course there are many features that can be specified in config that Mosh doesn't support, such as port forwarding.
If you're invoking mosh-client directly, that's a different story -- it doesn't even do DNS lookups, let alone host aliases. The best thing there would be to figure out why you can't use the mosh wrapper in your environment, and find a fix/workaround.
Activity
kmcallister commentedon Apr 12, 2012
The file
moshis a Perl script which callssshin order to invokemosh-serveron the remote machine. So this does honor host aliases in~/.ssh/configby default. I've used this feature successfully with Mosh.Of course there are many features that can be specified in
configthat Mosh doesn't support, such as port forwarding.If you're invoking
mosh-clientdirectly, that's a different story -- it doesn't even do DNS lookups, let alone host aliases. The best thing there would be to figure out why you can't use themoshwrapper in your environment, and find a fix/workaround.keithw commentedon Apr 13, 2012
Yes, closing because (as I understand it) we do support ssh shortcuts specified in the .ssh/config. Please reopen if I have misunderstood.
posh: POSH_MUX_SESSIONS default ON — the M2 promotion (part of mobile…