...

Installing SSH public key for extra security on your Linux server – SSH Key

gorilla-chimp

SSH Key Tutorial

Log into SSH

mkdir $HOME/.ssh
chmod -R og= $HOME/.ssh
cd .ssh
nano authorized_keys2

Add your key you created with PuttyGen , make absolutely sure your 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

Now just setup you Putty with your SSH Key and you should be fine!

Discover more from WIREDGORILLA

Subscribe now to keep reading and get access to the full archive.

Continue reading