I have an ssh script which use ssh key forwarding on a remote system to do thing in even more remote systems.
I have to run the script in a screen session so that I can detach from it. But the authorization that was granted to the remote system by ssh-key-forwarding needs to be present. Atleast until the script has finished.
Any ideas how to go about it?