Hacker News new | ask | show | jobs
by denisu 5182 days ago
Am I blind or is there no way to connect to a custom ssh-port (other than 22) for the initial connection yet?

edit: github-issue: https://github.com/keithw/mosh/issues/103

3 comments

In .ssh/config:

    Host alias
        Hostname realname.domain
        Port alternate_port
I've browsed through the site and installed to look at the man page to find this out. I can't see a way to do this. Makes it useless for me :-(

Not that I'm complaining. It's not like I'm being asked to pay for it, just a feature that I imagine would be helpful to many people...

Thanks, we're working on it and it will be in a future release.

We're tracking this issue at https://github.com/keithw/mosh/issues/53

A workaround for this is to change the ssh default port in your ssh config file.