I can authenticate successfully with puttythe server using private keyand passphrase. But when I try to do this using jenkins to publish via the SSH plugin (using Test for configuration), I get the following error message:
jenkins.plugins.publish_over.BapPublisherException: Failed to connect session for config myconfig. Message [Auth fail]
I entered the same information as in the spackler:
Host Name : myhostname
Username : myusername
Remote directory :
Use authentication password, or use a different key. Password / password path to the key : marked
path to the key : mypath
passphrase : mypasssword
Key :
Port : 22
Timeout (ms) : 300000
If you have an idea ... Thank you for your help.
source
share