3 ms·
> ssh-agent can be used if you really need to have multiple hops. Possibly you mean, in one's ~/.ssh/config: Host *.trusted.hosts another.one.trusted
by lloeki 12y ago
> ssh-agent can be used if you really need to have multiple hops.
Possibly you mean, in one's ~/.ssh/config:
Host *.trusted.hosts another.one.trusted
ForwardAgent yes
The restriction with Host is that otherwise an untrusted host (or someone having compromised your remote account) could use your agent forwarding socket to identify as you.