More on SSH passwordless login (using RSA/DSA key)

After experimenting with my Nokia E61 and putty, I just found out a better way to add the public key to remote servers. This assume that you’re using a linux box as a client.

On your local computer, type:

$ssh-keygen -t rsa

Note: Just press “enter” for every question for truly passwordless login

Generating public/private rsa key pair.
Enter file in which to save the key (/home/kramfs/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/kramfs/.ssh/id_rsa.
Your public key has been saved in /home/kramfs/.ssh/

Once your RSA key-pair is generated, you need to add the public key to your server’s ~/.ssh/authorized_keys file. You can do this very easily by typing (on your local computer):

$ssh-copy-id ~/.ssh/

it will ask for “username” password on host “”, the next connection will be passwordless

Now try logging into the machine, with “ssh ‘'”, and check in:


to make sure we haven’t added extra keys that you weren’t expecting.

kramfs@mobile1:~/.ssh$ ssh

Last login: Wed Feb 6 14:00:44 2008 from

As you can see, it did not ask me for my password anymore since the authentication was done via the RSA/DSA key.



  1. Pingback: eBook

  2. Pingback: witryna www

  3. Pingback: Online scams are on the rise

  4. Pingback: SEO In Edmonton

  5. Pingback: indian IOSR journals

  6. Pingback: Property management las vegas

  7. Pingback: Pinganillo

  8. Pingback: How to start a blog and make money

  9. Pingback: local advertising

  10. Pingback:

  11. Pingback: website developer Mumbai, India

  12. Pingback: MBA Finance

  13. Pingback: Find a partner chat line

  14. Pingback: Ripped Muscle X Review

  15. Pingback: Gary's Tackle Box

  16. Pingback: Ladies Fashion Dresses

  17. Pingback: Industrial Revolution Business

  18. Pingback: Oregon Travel Blog

  19. Pingback: motorola surfboard sb6121

  20. Pingback: Don?t Panik! Graphic Design

  21. Pingback: Discover More Here

  22. Pingback: Finance Tips & Advice

  23. Pingback: Changing your GoPro HERO 4 Wifi password

  24. Pingback: Financial Services Society

  25. Pingback: warehouse label

  26. Pingback: The Department of Education Resources

  27. Pingback: notary locations

  28. Pingback: Card Tricks

  29. Pingback: favorites

  30. Pingback: Android Magic Apps

  31. Pingback: beauty blogs

  32. Pingback: middlesex escorts

  33. Pingback: how to write like a journalist

  34. Pingback: Boutique Online Shopping

  35. Pingback: Weight Watchers Gutschein

  36. Pingback: bank latest news

  37. Pingback: pikavippi

  38. Pingback: Small Business

  39. Pingback: Poker

  40. Pingback: thank you

  41. Pingback: Decorations Ideas

  42. Pingback: How to lose body fat

  43. Pingback: funny vidios

  44. Pingback: separation anxiety in dogs and how to cure it

  45. Pingback: The Shade Files

  46. Pingback: social media event

  47. Pingback: colored contacts for brown eyes

  48. Pingback: rodina

  49. Pingback: Las mil y una noches

  50. Pingback: Automobile Engineering

Leave a Comment

Your email address will not be published. Required fields are marked *