ssh private key for mac terminal code example Example: macos create new public key ssh-keygen -t rsa -b 4096