Find the answer to your Linux question:
Results 1 to 2 of 2

Thread: ssh keys

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Nov 2004
    Glacier, WA

    ssh keys

    I used the command "ssh-keygen -t rsa" to create a key so that 2 of my servers know each other so i can cron a rsync job, but when I try to transfer the key "ssh-copy-id -i ~/.ssh/ root@" I get "-bash: ssh-copy-id: command not found", what am I missing?

    To stop learning is to stop living

  2. #2
    Not sure what ssh-copy-id does but you should be able to do it manually.

    scp ~/.ssh/ root@
    ssh root@
    cat >> /home/user/.ssh/authorized_keys
    Then you might need to change permissions on authorized_keys so that no-one else can write it.

Posting Permissions

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