Results 1 to 3 of 3

Thread: Where is my authorized_keys file? Ubuntu Server 12.04.1 LTS

  1. #1
    Join Date
    May 2005
    Beans
    205

    [SOLVED] Where is my authorized_keys file? Ubuntu Server 12.04.1 LTS

    Hey Forums,

    I'm trying to get some automatic rsync backups happening from my webserver. I have my public key set up on my webserver correctly now I just want to install my private key on my back up machine which is running Ubu Server 12.04.1 LTS and I can't seem to find my authorized_keys file. All of the guides on the net tell me that it should be in my home directory at ~/.ssh/authorized_keys but it doesn't appear that I have that directory or file in existence.

    Does that mean I should just make the .ssh dir and the authorized_keys file or does that mean that SSH in my system is configured differently?

    Edit: I followed this guide (http://www.debian-administration.org/articles/152) and it seems to be working
    Last edited by wh33t; October 12th, 2012 at 09:22 PM.
    Ubu,noobu

  2. #2
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: Where is my authorized_keys file? Ubuntu Server 12.04.1 LTS

    .ssh is a hidden folder, you can use either 'ls -a' in a terminal or hit CTRL+H in nautilus to show hidden files.

    The easiest way to copy your key to a remote host is to use the ssh-copy-id command:
    Code:
    ssh-copy-id user@host
    Cheesemill

  3. #3
    Join Date
    May 2005
    Beans
    205

    Re: Where is my authorized_keys file? Ubuntu Server 12.04.1 LTS

    Quote Originally Posted by Cheesemill View Post
    .ssh is a hidden folder, you can use either 'ls -a' in a terminal or hit CTRL+H in nautilus to show hidden files.

    The easiest way to copy your key to a remote host is to use the ssh-copy-id command:
    Code:
    ssh-copy-id user@host
    That's exactly what I ended up doing Thank you.
    Ubu,noobu

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
  •