Results 1 to 2 of 2
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-30-2007 #1Linux Newbie
- Join Date
- Nov 2004
- Location
- Glacier, WA
- Posts
- 103
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/id_rsa.pub root@192.168.0.3" I get "-bash: ssh-copy-id: command not found", what am I missing?
GlacierBill
To stop learning is to stop living
- 07-30-2007 #2Just Joined!
- Join Date
- Jul 2007
- Posts
- 41
Not sure what ssh-copy-id does but you should be able to do it manually.
Then you might need to change permissions on authorized_keys so that no-one else can write it.Code:scp ~/.ssh/id_rsa.pub root@192.168.0.3:./ ssh root@192.168.0.3 cat id_rsa.pub >> /home/user/.ssh/authorized_keys


Reply With Quote
