Hi,

Yep, something broke for the case when you use server names that have
suffixes added automatically by /etc/resolv.conf 'search' setting.

You have the SSH key saved for 'foobar' and yet it tries to connect
to 'foobar.full.domain', which then prompts a new security question,
as if you never connected to it before, because it's a different name.

Excerpt from the debug output:

11:36:15: Resolving cluster names: started
11:36:15: Found server myhostname
11:36:15: leaving with myhostname
11:36:15: Resolving cluster names: completed
11:36:15: create_windows: started
11:36:16: Helper script done
11:36:16: split_hostname: connect_string=myhostname
11:36:16: username=, server=myhostname, port=
11:36:16: Attempting name resolution via user ssh config file
11:36:16: Failed to check host (falling back to gethostbyname): No such file or 
directory
11:36:16: Working on server myhostname  for myhostname
11:36:16: Set temp name to: /tmp/EGRwQ2UfJi
11:36:16: Terminal exec line:
/usr/bin/rxvt -bg \#000000 -fg \#CCAAEE  -xrm '*.VT100.allowSendEvents:true' -T 
'CSSH: myhostname' -font 10x20 -e "/usr/bin/perl" "-e" '            my 
$pipe=shift;
                my $svr=shift;
[...]
#               warn("Running:$command\n"); # for debug purposes
                exec($command);
' '/tmp/EGRwQ2UfJi' 'myhostname.my.fqdn' '' ''

11:33:27: Attempting name resolution via user ssh config file
11:33:27: Failed to check host (falling back to gethostbyname): No such file or 
directory
11:33:27: Working on server myhostname  for myhostname
11:33:27: Set temp name to: /tmp/EGRwQ2UfJi
11:33:27: Terminal exec line:
/usr/bin/rxvt -bg \#000000 -fg \#CCAAEE  -xrm '*.VT100.allowSendEvents:true' -T 
'CSSH: myhostname' -font 10x20 -e "/usr/bin/perl" "-e" '            my 
$pipe=shift;
                my $svr=shift;
[...]
                $command .= "  || sleep 5";
#               warn("Running:$command\n"); # for debug purposes
                exec($command);
' '/tmp/EGRwQ2UfJi' 'myhostname.my.fqdn' '' ''

11:33:27: Performing sysread
[...]

When I uncomment that warn call, the extra output is:

Running:/usr/bin/ssh  -x -o ConnectTimeout=10 myhostname.my.fqdn  || sleep 5

That's the problem for me - it should have simply used 'myhostname'
instead of 'myhostname.my.fqdn'.

This should be reverted for the sake of us with .ssh/known_hosts files
that are multiple hundred lines log, and who still wish to continue to be
able to do simple 'ssh myhostname' to get to that. It can be provided as an
option for people who want the new behaviour.

-- 
     2. That which causes joy or happiness.



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to