同一客户端使用多份SSH Key

创建或添加如下内容:

Host example1.com
    HostName realname.example.com
    IdentityFile ~/.ssh/example1_rsa # 私钥

Host example2.com
    HostName example2.com
    IdentityFile ~/.ssh/example2_rsa 

  

posted on 2017-02-15 16:06  xzysaber  阅读(175)  评论(0编辑  收藏  举报

导航