Tab completion on mosh (ssh) alias?

bitofagoob

I've just started using mosh and I'm left thinking to myself "why didn't I start using this like two years ago?"

I'm even more impressed by the fact that it reads my ~/.ssh/config and respects the aliases in it. The only thing I'd like now is for tab completion on the aliases, like ssh does. Is there a way?

bitofagoob

I've added some .bash_aliases to log into my various systems:

alias mj='mosh j3710'
alias m3='mosh 3770k'
etc.
etc.

I tried adding them to /etc/hosts but it didn't work. I'm sure there's probably a neater way of doing it but if nothing is suggested within the next couple of days I'll mark this as answered.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related