[Question] ssh -6 [email protected]

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 [email protected] however this has not worked for me. I get the error "could not resolve hostname [email protected]####::####:####:####:#####/## nodename nor servername provided, or not known.

Any help would be greatly appreciated!

Thanks,

Bayjose
 

cheese

the tallest memer in town
Staff member
.
.
.
Joined
Mar 2, 2016
Messages
2,718
Likes
2,361
Location
Florida
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)?
 

Nold

I just meme here
.
Joined
Jul 16, 2017
Messages
314
Likes
917
Location
EU
Portables
4 + 1*π
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 [email protected]####::####:####:####:#####/##
 
Top