Jenkins Publish over ssh authentification failed with private key

前端 未结 10 1023
小鲜肉
小鲜肉 2021-01-13 07:39

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

10条回答
  •  一整个雨季
    2021-01-13 08:13

    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
    

提交回复
热议问题