Digital Marketing

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

Popular posts from this blog

Fixed WSL sshd: no hostkeys available -- exiting

PowerMTA pmta command

How to fix: mv: failed to preserve ownership