BlueHost login to your ssh account without typing in a password

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, 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/

Now you have to append the contents of 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!

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)
Facebook Twitter Email

Leave a Reply