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