Hacker News new | ask | show | jobs
by bricomaz 283 days ago
Strangely no reference to "the most underrated configuration file" aka .ssh/config (reference is some internal docs I wrote) where you can name hosts whatever you want, define jumphosts to reuse to connect to different servers, specify different private keys and usernames for each host, and transform a monstrosity like

ssh -i ~/.ssh/key_A -o ProxyCommand="ssh -i /very/very/long/directory_name/hidden_somewhere/key_B user_B@jumphost -W %h:%p" user_A@192.168.1.5

into

ssh myserver

And how many knows windoze ships an ssh client (that yes supports .ssh/config) since years?