Closed Sumanth-lsvs closed 3 years ago
try it manually i.e ssh user-name@<node-ip>
if it works I'll establish a connection automatically when you relaunch the node
still having the same issue anyone please help me with this issue
Did u configure SSH on Node ie etc/ssh/sshd_config
before connecting node in jenkins
yes i did I searched the error in google https://superuser.com/questions/1226069/configuring-jenkins-build-node-wrong-password in the link he gave solution but what system preferences he is talking about, i didn't get it.
Hi Sumanth, As i have said in the class if you are using known hosts verification strategy, you should try connecting from jenkins master to jenkins node. This can be done after configuring /etc/ssh/sshd_config file after setting PasswordAuthentication to Yes (if you are using key based authentication) So do the following
Please watch & listen video carefully.
Once this works please close the issue
Hi sir I resolvd the issue, thanks for your time Purushotham B (puru7791) thanks for the suggestions
While creating jenkins node for hrmsqa agent is failing to get connect and getting issue as
error message:- [09/29/20 04:15:24] [SSH] SSH host key matches key in Known Hosts file. Connection will be allowed. ERROR: Failed to authenticate as jenkins. Wrong password. (credentialId:try1/method:password) [09/29/20 04:15:27] [SSH] Authentication failed. Authentication failed. [09/29/20 04:15:27] Launch failed - cleaning up connection [09/29/20 04:15:27] [SSH] Connection closed.