Question, can you ssh into the machine using the root login? It is my understanding of ssh and scp that root login is denied by default.

Darcy

Nathanael Noblet wrote:


On Sunday, September 21, 2003, at 04:50 PM, Keith Robinson wrote:


I am trying to transfer some files between two boxes on my lan. I
thought I'd try scp since I've never used it.

I do:
scp -pr [EMAIL PROTECTED]:/home/keith/origin [EMAIL PROTECTED]:/home/keith/destination


I get:
[EMAIL PROTECTED]'s password:

Now, If I type in the correct password I get:
Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,password,keyboard-interactive).
lost connection

If I type in the wrong password I get:
Permission denied, please try again.


Not positive, but I bet it thinks both passwords to both your boxes are the same, if they are not, well then that won't work. Another thought, I think you'll have an easier time if you ssh into the box you want to scp from and do
scp -pr /path/to/file [EMAIL PROTECTED],...:/path/to/dest


or if you were on the box receiving the files

scp -pr [EMAIL PROTECTED]:/path/to/file /path/to/file





Reply via email to