[Question] ssh -6 [email protected]

Discussion in 'Raspberry Pi' started by bayjose, Apr 2, 2018.

  1. bayjose .

    Joined:
    Oct 9, 2017
    Messages:
    45
    Likes Received:
    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
     
  2. cheese the tallest memer in town Staff Member . . .

    Joined:
    Mar 2, 2016
    Messages:
    2,485
    Likes Received:
    2,210
    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)?
     
  3. Nold C L U B C L A M S H E L L Staff Member . .

    Joined:
    Jul 16, 2017
    Messages:
    299
    Likes Received:
    866
    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]####::####:####:####:#####/##
     

Share This Page

Loading...