PAM-CM-1341-Failed to establish connection channel to the remote host
search cancel

PAM-CM-1341-Failed to establish connection channel to the remote host

book

Article ID: 95636

calendar_today

Updated On:

Products

CA Privileged Access Manager - Cloakware Password Authority (PA) CA Privileged Access Manager (PAM)

Issue/Introduction



When it tries to save the target account, the below error occurs. It reproduced the problem on a few Solaris 10 box 100% sure. 

 PAM-CM-1341: Failed to establish connection channel to the remote host 

The trigger to reproduce the problem is to select the following switch. 
Account >> Password tab >> Synchronization >> Select the "Update both the Password Authority Server and the target system". 
 

Environment

PAM 4.1.X
Reproduced Target server OS : Solaris 10 Sparc 

Resolution

The locale was set the ja_JP.PCK of the Solaris 10 box. From the catalina.out, I we verified the prompt when the password change was tried, it has the Japanese word, not English although the customer set the "LANG=C passwd" to the Script Processor. 

When it sets the ”(?si)(.*?パスワード(\sfor|:).*?)” to the "Password Entry Prompt" in the Target application >> Script Processing tab for the Solaris10 device, it worked even if the passwd command without LANG=C was performed on the target box. 

Also, after that, we noticed the Solaris box was working by C shell. But the "setenv LANG C passwd <USER ID>" on OS but the error "Too many arguments"(引数が多すぎます。) was returned. 
 



It tried to use the pipe as "setenv LANG C | passwd <USER ID>" , but the Japanese prompt was returned then without enabling LANG=C. 
(”既存のログインパスワードを入力してください” means "Password?" )
 


 


We provided the information to use "&&" instead of pipe like "setenv LANG C && passwd <USER ID>" and it worked.