标签:Jenkins
1、Jenkins主机密钥生成:2、将公钥拷贝到authorized_keys
ubuntu@jenkins:~/.ssh$ cat id_rsa.pub >> authorized_keys
3、拷贝公钥到远程主机
ubuntu@jenkins:~$ ssh-copy-id -i root@192.168.3.223
4、配置jenkins的SSH server
点击右上角Jenkins——》菜单“系统管理”——》系统设置——》Publish over SSH
标签:Jenkins
原文地址:http://blog.51cto.com/jonauil/2090230