I can authenticate successfully with putty on the server with my private key and passphrase. But when I try to do it with jenkins publish o
putty
private key
I ran into the same issue today and it turned out i was accidentally supplying the path to the public key instead of the private one.
So the "path to key" should be something like
.ssh/id_rsa
instead of
.ssh/id_rsa.pub