how to do ssh in mac ssh -i code example Example: ssh key mac ssh-keygen -t rsa //copy to clipboard pbcopy < ~/.ssh/id_rsa.pub