Raspberry Pi Remote Access
Raspberry Pi Remote Access
Raspberry Pi
Documentation
Computers
Accessories
Microcontrollers
Services
Pico C SDK
Remote access
Introduction to Remote
Access
Edit this on GitHub
NOTE
ping raspberrypi.local
nmap command
Now use the nmap command with the -sn Vag (ping
scan) on the whole subnet range. This may take a few
seconds:
fd00::ba27:ebff:feb6:f293
2001:db8:494:9d01:ba27:ebff:feb6:f293
Now use one of IPs from the Jrst step to ping all local
nodes:
ping -c 2 -I 2001:db8:494:9d01:ba27:ebff:feb6:f293
ping -c 2 -I 2001:db8:494:9d01:ba27:ebff:feb6:f293
ping -c 2 -I 2001:db8:494:9d01:ba27:ebff:feb6:f293
PING ip6-allnodes(ip6-allnodes (ff02::1)) from 200
64 bytes from 2001:db8:494:9d01:ba27:ebff:feb6:f29
64 bytes from witz.fritz.box (2001:db8:494:9d01:72
64 bytes from raspberrypi4.fritz.box (2001:db8:494
64 bytes from 2001:db8:494:9d01:da37:beff:fefd:f09
64 bytes from fusion.fritz.box (2001:db8:494:9d01:
64 bytes from fritz.box (2001:db8:494:9d01:464e:6d
64 bytes from raspberrypi.fritz.box (2001:db8:494:
ssh pi@2001:db8:494:9d01:dea6:32ff:fe23:6be1
The authenticity of host '2001:db8:494:9d01:dea6:3
ECDSA key fingerprint is SHA256:DAW68oen42TdWDyrOy
Are you sure you want to continue connecting (yes/
Warning: Permanently added '2001:db8:494:9d01:dea6
pi@2001:db8:494:9d01:dea6:32ff:fe23:6be1's passwor
Linux raspberrypi4 4.19.75-v7l+ #1270 SMP Tue Sep
...
pi@raspberrypi4:~ $
When you open the Fing app, touch the refresh button in
the upper right-hand corner of the screen. After a few
seconds you will get a list with all the devices connected
to your network. Scroll down to the entry with the
manufacturer "Raspberry Pi". You will see the IP address
in the bottom left-hand corner, and the MAC address in
the bottom right-hand corner of the entry.
You will only have access to the command line, not the
full desktop environment. For a full remote desktop, see
VNC.
NOTE
4. Click OK
4. Choose Yes
5. Select Ok
2. Choose Finish
NOTE
NOTE
WARNING
ssh pi@<IP>
NOTE
WARNING
pi@raspberrypi ~ $
Forwarding X11
You can also forward your X session over SSH, to allow
the use of graphical applications, by using the -Y Vag:
ssh -Y [email protected]
NOTE
geany &
ssh pi@<IP>
NOTE
WARNING
pi@raspberrypi ~ $
ls ~/.ssh
ssh-keygen
ls ~/.ssh
cat ~/.ssh/id_rsa.pub
ssh-copy-id <USERNAME>@<IP-ADDRESS>
NOTE
ssh-add
NOTE
You can also send Jles over SSH using the scp
(secure copy) command.
tail -f /var/log/secure
# might return:
Nov 23 12:31:26 raspberrypi sshd[9146]: Authentica
ssh-add -K ~/.ssh/id_rsa
NOTE