Hi Mike,

Thank you for taking the time to submit this bug report
and patch.  We have received reports of this previously,
and this will be resolved for a future release.

Thanks for your feedback.

Best Regards,

Stephanie Thomas
SSH Secure Shell
Technical Support Specialist

Mike Austin wrote:
> 
> I just installed SSH version 2.4.0 on some of my UNIX hosts.  When I try to
> connect to hostnames with multiple IP addresses, it fails with the error:
> 
> FATAL: Connecting to "hostname" failed: No address associated to the name
> 
> where "hostname" is the name of the cluster I'm trying to connect to.
> 
> I noticed a few other people have asked about this by doing a web search,
> but never found an answer to the problem.
> 
> So, I took a look at the code, and found out what's going wrong.
> 
> In the routine ssh_tcp_get_host_addrs_by_name_sync, if a hostname has
> multiple IP addresses, a comma is supposed to be inserted between the
> addresses.  Unfortunately, the code to add that comma is two lines too
> low, so addresses get concatenated together without a comma in the middle.
> By moving the comma inserting loop above the address concatenating call,
> the problem is fix.
> 
> I've included the tiny patch.  It's attached to this message.
> 
> If others have come up with a solution, great.  I just thought that I'd
> share.
> 
> Should something like this be fed back to the folks at ssh.com?
> 
> mga.
> --
> Mike Austin                           Computing & Information Technology
> Systems Programmer                    The University of Vermont
> UNIX/DCE Sys Admin                    802-656-8785
> 
>   
>----------------------------------------------------------------------------------------------------
>                                  Name: ssh-2.4.0-multipleips.diff
>    ssh-2.4.0-multipleips.diff    Type: Plain Text (TEXT/PLAIN)
>                              Encoding: BASE64

Reply via email to