gerrit ssh 登陆设置

[root@web ~]# cat ~/.ssh/config
Host gerrit
User deploy-gerrit
Port 29418
Hostname gerrit.demo.com
IdentityFile ~/.ssh/id_rsa
IdentityFile ~/.ssh/openssh-key
StrictHostKeyChecking no
# 可以不添加IP 到known hosts 中
UserKnownHostsFile /dev/null

 

posted @ 2015-06-19 17:00  er_bao  阅读(1734)  评论(0编辑  收藏  举报