Run and forward ssh-agent
To run ssh-agent:
eval $(ssh-agent -s)To forward the services of your local ssh agent to the remote-host.
ssh -A remote-host
For security reasons agent forwarding should only be use with hosts run by trustworthy people, but it is better than running a complete agent remotely any time.
Allow Forwarding in Your Client’s Config
Host example
ForwardAgent yes
Comments
Post a Comment