chris
chris

Reputation: 344

Jenkins connection closed after authentication succesful

Trying to configure linux agent node to my windows Jenkins controller, throwing below error after authentication is succesfull

SSH connection reports a garbage before a command execution.
Check your .bashrc, .profile, and so on to make sure it is quiet.
The received junk text is as follows:
/usr/bin/id: cannot find name for group ID ******

null

Upvotes: 1

Views: 3476

Answers (1)

Devesh mehta
Devesh mehta

Reputation: 1523

Looking at the error it looks SSH is failing because the group doesn't exist in the destination Linux node.

Verify that the groups of the SSH user on the Jenkins Windows master using which SSH is happening to Linux node

enter image description here

Ensure that the SSH user exists on the Linux node and it is a member of the groups that appeared in Windows.

If there are any missing groups in Linux node as compare to Windows Master then you need to create them.

Do let me know the result for next step of troubleshooting.

Upvotes: 2

Related Questions