how to generate public key in mac os using ssh-keygen code example
Example 1: macos create ssh key
ssh-keygen -t rsa
Example 2: get ssh key mac
$ ls -al ~/.ssh
# Lists the files in your .ssh directory, if they exist
ssh-keygen -t rsa
$ ls -al ~/.ssh
# Lists the files in your .ssh directory, if they exist