3 ms·
You can use SSH agent forwarding, however that causes some holes to open up as well, so ymmv.
by notwedtm 8y ago
You can use SSH agent forwarding, however that causes some holes to open up as well, so ymmv.
- ta1357 8y agoDon't do that. Do this instead (taken from my ~/.ssh/config): # Sample bastion host configuration without ForwardAgent # Host bastion # User bastion_user # Hostname 10.11.12.13 # IdentityFile ~/.ssh/id_bastion # # Host server # User server_user # Hostname 192.168.0.1 # IdentityFile ~/.ssh/id_server # ProxyCommand ssh -q -W %h:%p bastion