forked from pifty/tutes-dump
15 lines
492 B
Plaintext
Executable File
15 lines
492 B
Plaintext
Executable File
[07] DOES SDF SUPPORT SSH AUTHORIZED_KEYS FOR AUTHENTICATION?
|
|
|
|
Yes, to set this up, please follow these steps:
|
|
|
|
1. Run 'ssh-keygen -t dsa' on your host. This will create
|
|
a public and private key pair.
|
|
|
|
2. Add the contents of the *.pub key to $HOME/.ssh/authorized_keys
|
|
|
|
3. Be sure your $HOME/.ssh directory is not world or group readable:
|
|
chmod -R 700 $HOME/.ssh
|
|
|
|
You should now be able to login via SSH without being
|
|
prompted for a password.
|