Thursday 15 October 2015

Control the pi from a mac using SSH

to use the pi without keyboard, mouse or screen use ssh.
In order to use ssh the pi needs an active wifi connection , or needs to be joined to a mac via its ethernet port

first open a terminal window on the pi and type

hostname -I

the pi will return the pi's ip adress, something like 192.168.0.10



now go to your mac, and open terminal

first get rid of any old address by entering

ssh-keygen -R 192.168.0.10 (put in your pi ip address)

then connect by typing

ssh pi@192.168.0.10 (put in your pi ip address)

then input the pi's password (raspberry)

now you can copy files using netatalk
get graphic environment on mac by using VNC


No comments:

Post a Comment