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. 


On Tuesday, July 21, 2020 at 3:03:10 AM UTC-4, sakshira...@gmail.com wrote:
>
> 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 have added ssh key for connection as per 
> https://linuxtechlab.com/how-to-easily-add-ssh-credentials-on-jenkins-server/
>
> I need to run a script on remote server from jenkins . 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/136d5114-db1f-41f0-b4fc-8e0e90352127o%40googlegroups.com.

Reply via email to