Skip to content

Read the ~/.ssh/config #159

Closed
Closed

Description

@KnisterPeter

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.

Activity

  1. kmcallister commented on Apr 12, 2012

    @kmcallister
    Contributor

    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.

  2. keithw commented on Apr 13, 2012

    @keithw
    Member

    Yes, closing because (as I understand it) we do support ssh shortcuts specified in the .ssh/config. Please reopen if I have misunderstood.

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