问题:
ERROR: Exception when publishing, exception message [Failed to connect and initialize SSH connection. Message: [Failed to connect session for config [190.168.2.8]. Message [Auth fail]]]
Build step ‘Send files or execute commands over SSH’ changed build result to UNSTABLE
Finished: UNSTABLE
[root@localhost .ssh]# ssh-copy-id -i id_rsa.pub 190.168.2.8
成功: