save ssh key pair mac code example Example: get ssh key mac $ ls -al ~/.ssh # Lists the files in your .ssh directory, if they exist