Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

so, I would say that the easiest solution here is tab completion. Suitably modern bash-completion should expand entries in ~/.ssh/config (as well as ~/.ssh/known_hosts if its not hashed).

  Host hosta.mycompany.com
    User usera
and then type "ssh hosta<tab>" :)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: