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: waste removal

  2. Pingback: debris dumpster rental

  3. Pingback: mac os server

  4. Pingback: stickdatei

  5. Pingback: operation cataracte

  6. Pingback: resveratrol pills

  7. Pingback: op?ration laser yeux prix

  8. Pingback: Dakwerkers

  9. Pingback: 100% Blackout Roller Blinds In European Design Solid Color Made to Order Blinds

  10. Pingback: Renovatie daken

  11. Pingback: Horizontal Shade Zebra Blind Window Roller Custom Cut Size Woodlook Curtain

  12. Pingback: Random Password Generator

  13. Pingback: golf holdforløb

  14. Pingback: Nhà M?t Ti?n Nguy?n Chí Thanh, 100m2,

  15. Pingback: African breaking news

  16. Pingback: hotel ui kit

  17. Pingback: African latest news

  18. Pingback: Bán Ä??t c?ng làng ng?c anh

  19. Pingback: LG G5 B?c

  20. Pingback: OPPO A37 Rose M?i s? d?ng 3 tháng

  21. Pingback: free material ui kit

  22. Pingback: email spying

  23. Pingback: cybercrime-as-a-service

  24. Pingback: Mua SS Note 3

  25. Pingback: baby boy bandana bibs

  26. Pingback: Iphone 7 plus 128 GB FPT Red Product

  27. Pingback: all natural energy boosters

  28. Pingback: Golf i Lunden

  29. Pingback: Natural energy boosters

  30. Pingback: laptop

  31. Pingback: house decoration

  32. Pingback: 2 x 8gb ram DDR3 ECC server kingston bus 1600

  33. Pingback: house decorations

  34. Pingback: Khoan b?n vít hitachi

  35. Pingback: dubai lifestyle app

  36. Pingback: review

  37. Pingback: Chó m?c ( Ä?en tuy?n)

  38. Pingback: fiverr

  39. Pingback: bathroom appliances

  40. Pingback: new

  41. Pingback: Samsung Galaxy J5 2015 vàng

  42. Pingback: lime green bathroom accessories

  43. Pingback: baby bandana bibs drooling

  44. Pingback: affiliate

  45. Pingback: storage of food

  46. Pingback: backpack canvas 

  47. Pingback: water bottle insulated

  48. lelio vieira carneiro junior

    It’s amazing to pay a visit this site and reading the views of all friends on the topic of this piece of writing, while I am also eager of getting experience.|

  49. Pingback: Iceland Glaciers

  50. Pingback: adding machine

Leave a Comment

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