jekins,报错 stderr: Could not create directory '/usr/share/tomcat7/.ssh'. Failed to add the host to the list of

public key是在~/.ssh/id_rsa.pub,而private key是~/.ssh/id_rsa

设置的时候,Jenkins需要的是private key

posted @ 2018-09-12 21:27  anobscureretreat  阅读(1080)  评论(0编辑  收藏  举报