Lurker News

Comments (245) 68 threads

Show all comments

Showing thread 15 of 68

arturhoo4 replies#
Nice idea, but don't run the command if you have

    Host *
      ForwardAgent yes
On your ~/.ssh/config
chmike2 replies#
What is the effect of ForwardAgent ?
rmetzler1 reply#
Forwarding your keys basically. It's like giving someone you don't know a handshake AND all your keys.
lcswi3 replies#
public keys I hope?!

Continue this thread — 3 replies

arturhoo#
The host you're connecting to could be able to, force write/destroy your public repos or clone your (and your employer's) private repos given that he knows their paths, eg: github/github. I'd assume that a few companies have a */secrets repo of some sort.
clinta#
Don't use agent forwarding to any host you don't have exclusive root access to and are 100% sure isn't compromised. Anyone else who is root on a box you SSH to with agent forwarding can authenticate to other servers using your private key while you are connected.
jrockway1 reply#
Is this a problem if my private key is on a smartcard and I have to press a button on the card to sign something?
eru#
Slightly less so. But they can still trick you into signing something different than what you'd expect.