Cant connect to the remote server from jenkins using ssh key
2,617 views
Skip to first unread message
sakshira...@gmail.com
unread,
Jul 21, 2020, 3:03:10 AM7/21/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jenkins Users
How can i resolve below issue for ssh configuration for remote server to jenkins:
jenkins.plugins.publish_over.BapPublisherException: Failed to connect and initialize SSH connection. Message: [Failed to connect session for config [Remote Machine]. Message [Auth fail]
I need to run a script on remote server from jenkins .
jeremy mordkoff
unread,
Jul 21, 2020, 11:56:55 AM7/21/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jenkins Users
You are positive the key works and that jenkns is ssh'ing as the right user? If so, can you check that the key is the only one offered? Finally, enable debug logs on the target's SSH server and look for the cause.