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