多个ssh private key的管理办法

在$home/.ssh/config中写入如下内容

Host 192.168.1.1
IdentityFile $PATH\.ssh\id_rsa

Host 192.168.1.2
IdentityFile $PATH\.ssh\id_rsa2

posted on 2015-12-22 01:12  merryfreespace  阅读(497)  评论(0编辑  收藏  举报