This is an interesting point, and one I should have noticed as I used to use
host aliasing in .ssh/config frequently.  I'm not sure how best to work
around this other than to add an option to .csshrc to ignore hosts that fail
the check.  Perhaps we could do something like "#aliasedhost" but that seems
like a pretty bad kludge.  I'll bring it up with the upstream.  In the
meaintime, any other suggestions about how you'd like to see it work?

Thanks for the bug report,
tony

Brad Fritz wrote:
> Package: clusterssh
> Version: 3.13.1-2
> Severity: minor
> 
> 
> The gethost("$serv") check at line 549 of open_client_windows()
> prevents cssh from working with hosts that are "aliased" via
> .ssh/config.
> 
> A concrete example:
> 
>   cat ~/.ssh/config:
>   [..]
>   Host fb
>     HostName foobar.exampledomain.tld
>     Port 2222
> 
> allows:
> 
>   ssh fb
> 
> to connect to port 2222 of foobar.exampledomain.tld .
> 
>   cssh fb
> 
> declares "fb" an unknown host and ignores it because the gethost()
> check fails for "fb".
> 
> I commented out the "next;" on line 552 as an ugly workaround.



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

Reply via email to