Error: permission denied (public key, GSSAPI keyex, GSSAPI with MIC, password)

1、 Background

Due to the need of work, I installed and deployed a Jenkins, and configured a job for a project. Among them, you need to SSH from Jenkins machine to other remote machines to solve the problem of wrong report!!!

Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password)

2、 Solutions

Baidu online meal, basically are wrong answers. In fact, it is because there is no configuration of password free login, so let the operation and maintenance colleagues help to do the password free login between servers, the result is still not good!!! Finally, after the guidance of my colleagues, I found that my Jenkins was started with jboss5, so my password free permission should also be jboss5 permission, but the actual operation and maintenance colleagues helped to do root permission, so the above error was not solved.

Reconfiguring jboss5’s password free login is OK

Read More: