jenkins 利用ssh远程连接Linux,出现错误:
jenkins.plugins.publish_over.BapPublisherException: Failed to connect session for config myconfig. Message [Auth fail]:
解决办法:
Go to http:///jenkins/manage
Configure System Browse to Publish over SSH section Passphrase: blank path to key: blank key : blank Disable exec : un-check SSH Servers -- Name: remote_user@remotehost.com -- hostname: remotehost.com -- Username: remote_user -- Remote Directory: empty -- Advanced -- check the box "use passsword authentication, or use a different key" -- port: 22 -- Timeout(ms): 300000 -- 'Test Configuration'成功。。。
精彩评论