Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore RemoteCommand in ssh config #1175

Closed
jordan-schneider opened this issue Feb 17, 2022 · 1 comment
Closed

Ignore RemoteCommand in ssh config #1175

jordan-schneider opened this issue Feb 17, 2022 · 1 comment

Comments

@jordan-schneider
Copy link

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?

@andersk
Copy link
Member

andersk commented Feb 17, 2022

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).

@achernya achernya closed this as not planned Won't fix, can't repro, duplicate, stale Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants