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
Per #285 (comment) there's no way to get mosh to work with a RemoteCommand ssh config option. Given that, is there some way to tell mosh to ignore the option, instead of not working entirely?
It’s not Mosh’s option to ignore: it’s read by ssh from ~/.ssh/config and used entirely within ssh, without Mosh ever seeing it.
We could pass -o RemoteCommand=none to ssh. The fact that this is possible is an undocumented property of OpenSSH, and it still won’t achieve what a user who configured RemoteCommand probably expects. But maybe it’d be reasonable if we first get a documentation patch into OpenSSH upstream (so we know they won’t change it).
Activity
andersk commentedon Feb 17, 2022
It’s not Mosh’s option to ignore: it’s read by
sshfrom~/.ssh/configand used entirely withinssh, without Mosh ever seeing it.We could pass
-o RemoteCommand=nonetossh. The fact that this is possible is an undocumented property of OpenSSH, and it still won’t achieve what a user who configuredRemoteCommandprobably expects. But maybe it’d be reasonable if we first get a documentation patch into OpenSSH upstream (so we know they won’t change it).