3 ms·
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/know
by cmsj 12y ago
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>" :)