1

I have a Ubuntu Server 13.04 and I currently use password only SSH login.

After seeing how many attempts were made to maliciously login to SSH I need to switch to key based authentication.

I have used https://help.ubuntu.com/community/SSH/OpenSSH/Keys and https://help.github.com/articles/generating-ssh-keys but they all relate to Linux.

I am still not sure how to set up key only login on my Ubuntu Server or how to generate key pairs on Mac OS X and Windows 8 (using Putty).

1

take a look at the Arch-Wiki there you will find what you need. Generating key-pairs in OS X is done the same way you would do on any other linux distro take see this article

$ ssh-keygen

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.