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: Used Rims and Tires

  2. Pingback: 10 best restaurants in paris

  3. Pingback: NordVPN

  4. Pingback: Beste Nederlandse VPN

  5. Lelio Vieira Carneiro Junior

    Hey there just wanted to give you a quick heads up.
    The words in your content seem to be running off the screen in Safari.
    I’m not sure if this is a formatting issue or something to do with web browser compatibility but I figured I’d post
    to let you know. The layout look great though! Hope you get the issue solved
    soon. Kudos

  6. Pingback: GOOSEVPN

  7. Pingback: GOOSE VPN review

  8. Pingback: GOOSE VPN discount

  9. Reyna

    I was suggested this web site by way of my cousin. I am now not
    certain whether this submit is written by means of him as no one else know such particular about my difficulty.
    You are amazing! Thanks!

  10. Pingback: GOOSE VPN trial

  11. Pingback: GOOSE VPN

  12. travel deals

    Nice replies in return of this question with solid arguments and telling the whole thing on the topic of that.

  13. Pingback: Pure VPN

  14. Pingback: frigidaire

  15. Pingback: lg dishwasher repair manual

  16. Pingback: jenn air range repair

  17. Pingback: appliance repair technician

  18. Pingback: appliance parts and repair

  19. Pingback: whirlpool model number

  20. Pingback: rectangular stainless steel tube

  21. imagine holiday travel

    Amazing blog! Is your theme custom made or did
    you download it from somewhere? A design like
    yours with a few simple tweeks would really make my blog jump
    out. Please let me know where you got your theme.

  22. Candra

    We stumbled over here different web page and thought
    I might as well check things out. I like what I see so i am just following you.
    Look forward to looking at your web page for a second time.

  23. Berry

    I was wondering if you ever thought of changing the layout of your website?
    Its very well written; I love what youve got to say. But maybe you
    could a little more in the way of content so people could connect with it better.
    Youve got an awful lot of text for only having one or two images.
    Maybe you could space it out better?

  24. killarney golf

    Hey superb blog! Does running a blog like this require a large
    amount of work? I have no understanding of programming but I had been hoping to start my own blog in the near future.
    Anyway, if you have any recommendations or techniques for new blog owners please
    share. I understand this is off topic however I just
    wanted to ask. Kudos!

  25. Diego

    Hello there! I could have sworn I’ve been to this website before
    but after browsing through some of the post I realized it’s new
    to me. Anyways, I’m definitely delighted I found it and I’ll be book-marking and checking
    back frequently!

  26. Pingback: dumpster rental chicago ridge

  27. Pingback: rent trash dumpster

  28. Pingback: large dumpster

  29. Pingback: dumpster rental orchard lake

  30. Pingback: dumpster rental ecorse

  31. Tania

    Do you have any video of that? I’d want to find out some additional information.

  32. Pingback: dumpster rental service

  33. Noreen

    I’m more than happy to uncover this site. I wanted
    to thank you for ones time due to this fantastic read!!
    I definitely savored every little bit of it and I have you book marked to check out new things in your blog.

  34. Pingback: we buy houses


    Amazing! Its genuinely remarkable article, I have got much clear idea about from this piece of writing.

  36. Pingback: dmv driving record


    Hey! This post couldn’t be written any better!
    Reading through this post reminds me of my old room mate!
    He always kept talking about this. I will forward this article to him.

    Fairly certain he will have a good read. Thanks for sharing!

  38. Pingback: renters credit

  39. Pingback: aaa screening service

  40. Pingback: credit report

  41. Pingback: employee reference checks

  42. Loren

    I pay a visit each day a few web sites and blogs to read articles, except this website presents feature based posts.

  43. Hello would you mind letting me know which hosting company you’re using?
    I’ve loaded your blog in 3 completely different web browsers and I must say this blog loads a lot quicker then most.
    Can you suggest a good internet hosting provider at a reasonable price?
    Thanks a lot, I appreciate it!

  44. Shawn

    Hello there! I could have sworn I’ve been to this website before but after going through a few of
    the articles I realized it’s new to me. Regardless, I’m
    definitely happy I discovered it and I’ll be bookmarking it and checking back frequently!


    At this time it sounds like WordPress is the top blogging platform available right now.
    (from what I’ve read) Is that what you’re using on your blog?


    Aw, this was an extremely nice post. Taking the time and actual effort to create a great article… but what
    can I say… I put things off a whole lot and never manage to get nearly anything done.

  47. Roberto

    I’ve been surfing online more than 3 hours today,
    yet I never found any interesting article like yours. It’s pretty worth enough for me.
    Personally, if all site owners and bloggers made good content as you did, the internet
    will be much more useful than ever before.


    Thankfulness to my father who stated to me regarding this
    weblog, this blog is in fact amazing.

  49. Pingback: Wedding

  50. Pingback: kolkata pre-wedding photography

Leave a Comment

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