You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Under ssh server, add ssh server detail.
like name, hostname, username
Check "Use password authentication, or use a different key"
Under key, paste aws pem file key content
Click on Test Configuration button
Expected Results
Connection should be established with Success message
Actual Results
jenkins.plugins.publish_over.BapPublisherException: Failed to connect and initialize SSH connection. Message: [Failed to connect session for config [VPC-MHC-Apiserver1-dev-1a]. Message [Auth fail]]
Anything else?
No response
The text was updated successfully, but these errors were encountered:
Jenkins [Jenkins 2.361.1] hosted on Ubuntu 22 in AWS is able to send files over SSH to Ubuntu 18 and 20 using pem files. But Jenkins hosted on Ubuntu 22 is unable to send files over SSH to Ubuntu 22. Whenyou ssh into Jenkins server and try to manually do ssh or scp it works but from Jenkins Post Build action task it fails.
Jenkins and plugins versions report
Environment
What Operating System are you using (both controller, and any agents involved in the problem)?
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Codename: jammy
Reproduction steps
like name, hostname, username
Expected Results
Connection should be established with Success message
Actual Results
jenkins.plugins.publish_over.BapPublisherException: Failed to connect and initialize SSH connection. Message: [Failed to connect session for config [VPC-MHC-Apiserver1-dev-1a]. Message [Auth fail]]
Anything else?
No response
The text was updated successfully, but these errors were encountered: