Results 1 to 2 of 2

Thread: SSH Public Key

  1. #1
    Join Date
    Apr 2010
    Location
    Seattle, WA, USA
    Beans
    Hidden!
    Distro
    Ubuntu

    SSH Public Key

    I'm trying to setup SSH key-based authentication between my Mac OS X laptop and an Ubuntu 10.10 Server. I've created the keys (both public and private) via Terminal on my Mac with ssh-keygen.

    I opened up the generated id_rsa.pub (public key) generated on my Mac and noticed at the end it has a line in the form of <user>@<host> and the <host> attribute is currently set to my Mac's computer name.

    Should I change this value to the name of my server instead (so it would read <user>@<server host>)? If I don't change it and it's supposed to stay the same, doesn't that mean each and every client has their own public key (with a custom <user>@<host> combination)?
    Linux User: #517609
    Ubuntu User: #32468

  2. #2
    Join Date
    Jan 2008
    Location
    Auckland, New Zealand
    Beans
    3,134
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: SSH Public Key

    No you can leave it as it is, it doesn't really matter what it says. I think that's just there so you can identify them easily.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •