Skip to content

Instantly share code, notes, and snippets.

@donrestarone
Last active March 17, 2020 16:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save donrestarone/cba6c909baadb19065b2c959913701a4 to your computer and use it in GitHub Desktop.
Save donrestarone/cba6c909baadb19065b2c959913701a4 to your computer and use it in GitHub Desktop.
ssh into raspberry pi on local network (when you dont know the IP of the pi)
# get local ip
ifconfig |grep inet
# scan for devices on local network
sudo nmap -sP 192.xxx.y.zz/24
# when pi ip is shown connect with the user name
ssh pi@192.xxx.z.yy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment