When I am trying to establish a connection from jenkins to the target server .I am getting the below error. I tried generating the keys newly and tried copying the id_rsa.pub to authorized keys still its not working. is there knoWN_hosts file is neccessary to establish a ssh connection..Bcause my server is missed with the knowN_hosts file. Please provide ur comments
jenkins.plugins.publish_over.BapPublisherException: Failed to connect and initialize SSH connection Message: [Failed to connect session for config]. Message [Auth fail]]