- 1. get ip address from host computer
- 2. generate ssh key
- $ ssh-keygen
- 3. leave each of the following fields blank
- Enter file in which to save the key (/Users/user/.ssh/id_rsa):
- Enter passphrase (empty for no passphrase):
- Enter same passphrase again:
- 4. add ssh key to host
- $ ssh-copy-id user@192.168.x.x
- 5. enter password for host when prompted
- user@192.168.x.x's password:
- 6. verify passwordless ssh
- $ ssh user@192.168.x.x