Unable to establish ssh session User impersonation fails

book

Article ID: 102906

calendar_today

Updated On:

Products

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

Issue/Introduction

User impersonation fails with error message

"(com.nolio.platform.shared.parameter.InParameterPlaceHolder:170) - PlaceHolder for field [evaluationResult] got value [Step Result: false - Error occurred during action execution under USERX credentials(Cannot create process - Unable to establish SSH session/channel, java.net.ConnectException: Connection refused (Connection refused), Connection refused (Connection refused), ).]" 

Cause

The SSH PORT is modified,  The SSH uses 22 port by default.

Environment

CA Release Automation 6.5

Resolution

Perform following changes on the target server 

Edit  file processes.properties at location <RA_Agent>/conf/
Change the port number from 22 to  modified SSH PORT on target
eg: ssh.port= <modified port no>
Check the permission of <RA_Agent_Installation_directory> whether the deployment user(i.e.  impersonation user) have access to this folder.
Restart the agent