[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
 

cheese

the tallest memer in town
Staff member
.
.
.
Joined
Mar 2, 2016
Messages
2,758
Likes
2,422
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

real emulation, no hardware
Staff member
.
.
2021 1st Place Winner
Joined
Jul 16, 2017
Messages
443
Likes
1,608
Location
EU
Portables
5 + 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 pi@####::####:####:####:#####/##
 
Top