How to run ssh-add on windows?

后端 未结 7 608
夕颜
夕颜 2020-11-29 16:22

I\'m following #335 Deploying to a VPS , and near the end of the episode, we need to run ssh-add to give server access to github repo.

The problem is ho

7条回答
  •  余生分开走
    2020-11-29 17:18

    If you are trying to setup a key for using git with ssh, there's always an option to add a configuration for the identity file.

    vi ~/.ssh/config
    
    Host example.com
    IdentityFile ~/.ssh/example_key
    

提交回复
热议问题