Here we connect one client (MacOS) to another client (rasbperrypi) on the same network (10.0.0.95/24). This can be done using SSH, which runs on port 22, far more secure than telnet. Here’s what I did to make this happen:
On the raspberry pi:
$ service ssh start
$ ifconfig //find out rpi's IPv4 address (10.0.0.95)
Then from the mac, I ran this in the CLI:
$ ssh pi@10.0.0.95
// then I entered my password
Voila! I then had remote access to the rpi using my mac- pretty cool! I created a file on my Mac (‘ThisIsOnlyATest.txt’), and sure enough, it displayed on my raspberry pi when I ran the ‘ls’ command:
