[Question] ssh -6 pi@addresss

Joined
Oct 9, 2017
Messages
45
Likes
11
Has anyone had any luck trying to ssh into a pi. when i run "sudo ifconfig" the only address i get is an IPv6 address, which you should be able to ssh into with ssh -6 user@address however this has not worked for me. I get the error "could not resolve hostname pi@####::####:####:####:#####/## nodename nor servername provided, or not known.

Any help would be greatly appreciated!

Thanks,

Bayjose
 
I've never seen a pi only get a ipv6 address, you may want to manually assign it a v4 address. Also, what is your ifconfig output (you actually don't have to sudo it, ifconfig by itself will suffice)?
 
Could you post the output of "cat /etc/network/interfaces"? (Are you using raspian?)
You could also try run "sudo dhclient -v" to obtain a ipv4 address.

Also your syntax is wrong, remove the red subnet-part:
ssh -6 pi@####::####:####:####:#####/##
 
Back
Top