Skip to content

Ignore RemoteCommand in ssh config #1175

Closed as not planned
Closed as not planned

Description

@jordan-schneider

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?

Activity

  1. andersk commented on Feb 17, 2022

    @andersk
    Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions