|
Installing SSH public key for extra security on your Linux server |
|
Written by wiredgorilla
|
|
Saturday, 21 June 2008 |
|
Log into SSH
mkdir $HOME/.ssh
chmod -R og= $HOME/.ssh
cd .ssh
nano authorized_keys2
Add your key you created with PuttyGen , make absolutly sure you r key is in one line ONLY , otherwise it wont work!
Adjust your sshd_config
nano /etc/ssh/sshd_config
to
RSAAuthentication yes
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys2
|
|
Last Updated ( Sunday, 20 July 2008 )
|