jenkins - can't ssh to remote server (key - permission denied) but works from cli

前端 未结 5 1266
孤独总比滥情好
孤独总比滥情好 2021-01-06 12:40

I have Jenkins running on my local machine trying to figure out remote ssh problem I\'m having on a server. I\'m getting this permission denied error which indicates a probl

5条回答
  •  死守一世寂寞
    2021-01-06 13:42

    Looks like the public key is missing under /Users/jgoodwin/.ssh/id_rsa.pub instead id_rsa there.... can you pls double check and provide permission 600 to that file and re-run your jenkins job

    debug1: Offering RSA public key: /Users/jgoodwin/.ssh/id_rsa debug1: Server accepts key: pkalg ssh-rsa blen 279 debug1: key_parse_private_pem: PEM_read_PrivateKey failed

提交回复
热议问题