The following will hold true for being able to avoid typing in your password to get into any ssh account, assuming there is no firewall blockage.
First make sure your public key exists. Look in your ~/.ssh/
If you see id_rsa.pub, it exists.
If your public key doesn’t exist, you have to create it. You can create it with:
yourusername-2:.ssh yourusername$ ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/Users/yourusername/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /Users/yourusername/.ssh/id_rsa. Your public key has been saved in /Users/yourusername/.ssh/id_rsa.pub.
Now you have to append the contents of id_rsa.pub to the end of your ~/.ssh/authorized_keys on the remote (BlueHost) account.
Only add trusted public keys (from people you trust) to the authorized_keys of the remote server!
Leave a Reply