LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] IPv6 link-local and avahi/mdns

[ILUG] IPv6 link-local and avahi/mdns

Andrew McCarthy andrewmc-ilug at celt.dias.ie
Thu Feb 17 21:50:31 GMT 2011


Hi folks,

I'm trying to figure out using ssh (for example) with hostnames
broadcast by avahi, and am running into problems with link local
addresses where the interface needs to be specified.

Using "avahi-browse -atr" I can see the hostname, IPv4 and IPv6
addresses and the relevant interface.

These work:
	ssh -4 example.local
	ssh -4 192.168.0.1
	ssh -6 fe80::212:34ff:fe56:7890%eth1
but these don't:
	ssh -6 example.local
		ssh: connect to host example.local port 22: Invalid argument
	ssh -6 example.local%eth1
		ssh: Could not resolve hostname lola.local%eth1: No address associated with hostname

To my mind "ssh -6 example.local" should work, since avahi can report
which interface to use, but the error suggests it has got the IPv6
address from mdns, but not the interface.

Is there something I'm doing wrong, or is this a known issue?

Thanks,

Andrew


More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell