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'


成功。。。


Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐