"Run Command Line" Fails with Error: "Unable to establish SSH session/channel, Auth fail,"

book

Article ID: 38214

calendar_today

Updated On:

Products

CA Release Automation - Release Operations Center (Nolio) CA Release Automation - DataManagement Server (Nolio)

Issue/Introduction

PROBLEM:

When "Run Command line" action is run using the "Run As" user on a linux machine it gets into a FAILED_PAUSED state giving this error:
"Error occured during action execution: Cannot create process - Unable to establish SSH session/channel, Auth fail,

You should be able to see the following in /var/log/secure.log on the agent machine:

ip-xx-xx-xx-xx su: pam_unix(su:session): session opened for user abc by root(uid=0)

ip-xx-xx-xx-xx sshd[6509]: error: Received disconnect from xx.xx.xx.xx: 3: com.jcraft.jsch.JSchException: Auth fail [preauth]

 

ENVIRONMENT:

Release Automation Agent 5.5.2 on Linux 

 

CAUSE:

This problem occurs if ssh on the target machine is configured with the password authentication disabled 

 

RESOLUTION:

Please perform the following steps:

1. Modify /etc/ssh/sshd_config file and enable password authentication.

2. Restart sshd daemon.

It is recommended to consult a Linux administrator before modifying this file, as this file is an OS related file and is not created with Nolio agent installation.

 

Environment

Release: NOLNAC99000-5.5-Nolio-Automation Center
Component: