Login with an ssh key
Contents
Set up an ssh key on macOS so you can log into the server without typing a passwordNormally I don’t do this, for security.
macOS
- Generate a key
| |
- View the public key
| |
Target Server (CentOS)
- Add the public key to the ~/.ssh/authorized_keys file
| |