Results 1 to 6 of 6
Hi there;
This is my first post on this forum. After googling for the past hour, I have not found an answer for a question that ought to be pretty ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-07-2009 #1Just Joined!
- Join Date
- Apr 2009
- Posts
- 3
help with scp
Hi there;
This is my first post on this forum. After googling for the past hour, I have not found an answer for a question that ought to be pretty easy to answer. I am trying to set up a script that copies data from one root on one Linux box to root on another Linux box.
I logged onto the source book, got root access and I did "ssh-keygen -t dsa" and I generated a key. I then copied that key to /root.ssh/authorized_keys on the destination box. No matter what I do, I keep getting prompted for a password when I try to use scp on the source box to copy a file to the destination box, using root as both source and destination account.
How do I fix this so I am not prompted for a password?
- 04-08-2009 #2
Try this command on server
# ssh-keygen -t dsa# ssh-copy-id -i ~/.ssh/id_dsa.pub user@server
- 04-08-2009 #3Just Joined!
- Join Date
- Apr 2009
- Posts
- 3
- 04-09-2009 #4
- 04-09-2009 #5Just Joined!
- Join Date
- Apr 2009
- Posts
- 3
- 04-10-2009 #6
OK i found a guide, and its working
Take a look at Here


Reply With Quote

