cea-hpc/clustershell — Issue #115: clush ssh username specification failure
Author: thiell
Created: 2012-03-03 16:47:48+00:00
State: open
Labels: Lib

Clush can't establish SSH connection to remote node is -l option is supplied. It seems that the ssh subprocess dies with a permission denied error, even for valid usernames.

Nevertheless, the debug mode shows that the command is correct and can be run successfully.

{{{
[fnord@grompf1 ~]$ clush -d -l fnord -w grompf2 echo "blah"
Final NodeSet: grompf2
Soft limit RLIMIT_NOFILE already set to the max (1024)
User interaction: True
Create STDIN worker: False
clush: nodeset=grompf2 fanout=500000 [timeout conn=10.0 cmd=0.0] command="echo blah"
SSH: ssh -a -x -l fnord -oConnectTimeout=15 -oBatchMode=yes -oStrictHostKeyChecking=no grompf2 echo blah
grompf2@STDERR: Permission denied (publickey,gssapi-with-mic,password).
grompf2: Permission denied (publickey,gssapi-with-mic,password).
clush: grompf2: exited with exit code 255

[fnord@grompf1 ~]$ ssh -a -x -l fnord -oConnectTimeout=15 -oBatchMode=yes -oStrictHostKeyChecking=no grompf2 echo blah
blah
}}}