Ben - ssh keys

New About Yours API Help
892 bytes, Plain text
1
2
3
4
5
6
7
You discussed the question about using SSH agent forwarding, which as you discuss, is somewhat insecure as you are passing around keys. However, there's another method using SSH ProxyCommand. I use it on a daily basis from my linux and mac workstations and servers.

It's also more secure, because it proxies the encrypted traffic to the middleman host, not passing your keys. I use this on a daily basis to access various hosts on non-routable addresses, such as on our corp AWS account, or my homelab.

The gist below outlines the basics of using it in an SSH config file, so that you can simply run `ssh hostname` in your terminal, and have the proxy details handled automatically. It works fine on my linux and mac systems, and I would only assume it would work well on BSD too, since it's native SSH functionality.

https://gist.github.com/benyanke/1a9cf26bb281d1dcc52854cdc34ab788
Pasted 11 months, 1 week ago — Expires in 27 days
URL: http://dpaste.com/0E4538Q