Can I re-attach SSH key forwarding through a disconnected Screen session?
- by David Mackintosh
I have a laptop on which I have pageant (the PuTTy SSH key agent) running. If I ssh to a system and launch screen, the ssh key forwarding works properly.
However, if I disconnect from that screen session, log off, then later reconnect -- the key forwarding doesn't work any more. I am presuming that this is because when I reconnect the key forwarding is set up on different ports for the new ssh session than was the old one.
Is there a way to teach an individual screen window to reconnect to the agent forwarding so that I can use my key to forward again?