Skip to content

Instantly share code, notes, and snippets.

@cgkio
Created December 10, 2013 21:21
Show Gist options
  • Save cgkio/7900427 to your computer and use it in GitHub Desktop.
Save cgkio/7900427 to your computer and use it in GitHub Desktop.
SSH to Raspberry Pi
$ sudo ssh 192.168.2.2 -l pi
#The option “-l pi' specifies that we want to log into the Pi as the user “pi”.
# clear SSH connection issues with: $ perl -pi -e 's/\Q$_// if ($. == 5);' /var/root/.ssh/known_hosts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment