The ssh should be a default package with the RPi. You could check the service by the command.
ps -aux | grep sshed
If you can't find the service, you could simply install it by the apt-get command.
sudo apt-get install ssh
And what you have to do is to start the service.
sudo /etc/init.d/ssh start
Sometime you may want to restart the service.
sudo /etc/init.d/ssh restart
Then you could ssh from the Macos host side.
ssh pi@ // you may have to check the ip from the RPi terminal first by the ifconfig command.
You may want to force the ssh run every time bootup. Run this command once:
sudo update-rc.d ssh defaults
sudo reboot
How to debug if ssh doesn't work.
i) After the RPi is boot up, checking the sshd is running or not. If it is not running, just simply restart the service.
ii) Try to ping the RPi fro the host side.
iii) If the connection is still refused, try to clear the rsa key on the RPi & try again. These are the commands with the root privilege.
sudo -i
root@raspberrypi:/home/pi# ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key
root@raspberrypi:/home/pi# ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key
root@raspberrypi:/home/pi# ssh-keygen -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key
service sshd reload.
If you want to install the ssh from start, there is a good tutorial.
http://youtu.be/SmMMKojOE4U