Skip to content

Instantly share code, notes, and snippets.

@nicholaskajoh
Last active March 17, 2019 13:56
Show Gist options
  • Save nicholaskajoh/09c67152a74c9a9f8deac5ff224021f6 to your computer and use it in GitHub Desktop.
Save nicholaskajoh/09c67152a74c9a9f8deac5ff224021f6 to your computer and use it in GitHub Desktop.
Connect from Ubuntu PC to Raspberry Pi via SSH (ipv6).
# 1. Enable SSH on your Raspberry Pi (https://www.raspberrypi.org/documentation/remote-access/ssh/).
# 2. Plug Pi to PC using an ethernet cable and enable the ethernet device in your settings.
# 3. Use the ifconfig command to get the ethernet device name and IP address e.g enx00e04c534458 and fe80::666c:c924:194c:1756 respectively.
# 4. SSH into Pi with default user (pi) and password (raspberry).
ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no -Y -6 pi@fe80::666c:c924:194c:1756%enx00e04c534458
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment