How to forward local keypair in a SSH session?

后端 未结 3 951
南笙
南笙 2020-12-23 13:24

I manually deploy websites through SSH, I manage source code in github/bitbucket. For every new site I\'m currently generating a new keypair on the server and adding it to g

3条回答
  •  悲哀的现实
    2020-12-23 14:20

    The configuration file is very helpful but the trick for agent forwarding does the ssh-add command. It seems that this have to be initial triggered before any remote connections or after restart of the computer. To permanently add the key try the following solution from the user daminetreg: Add private key permanently with ssh-add on Ubuntu

提交回复
热议问题