Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
docs:ssh:public_key_authentication [2014/05/29 12:07] – billh | docs:ssh:public_key_authentication [2014/06/03 11:43] (current) – billh | ||
---|---|---|---|
Line 10: | Line 10: | ||
- this creates a private key ~/ | - this creates a private key ~/ | ||
- the single line inside the public key file needs copied to a file on the ssh server host at ~/ | - the single line inside the public key file needs copied to a file on the ssh server host at ~/ | ||
+ | |||
+ | ===== Troubleshooting ===== | ||
+ | If you still get a password prompt, try to correct these items: | ||
+ | |||
+ | * Your home directory ~ and your ~/.ssh directory on the remote machine must be writable only by you: %%rwx------%% and %%rwxr-xr-x%% are fine, but %%rwxrwx---%% is no good, even if you are the only user in your group (if you prefer numeric modes: 700 or 755, not 775). | ||
+ | * Your private key file (on the local machine) must be readable and writable only by you: %%rw-------%%, | ||
+ | * Your ~/ | ||
===== Notes ===== | ===== Notes ===== |