[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: scp from remote to remote machine



belahcene wrote:
Hi,
I want to send a file from one remote machine to another one like this
scp     bela@172.19.5.75:/home2/dsl-1.2.iso     bela@172.19.130.149:/debian
Password:
Host key verification failed.
lost connection

You need to make sure 172.19.5.75 already has an entry in ~/.ssh/known_hosts for 172.19.130.149



It asks only for on passwd ? and it fails ?
Is there an option to precise the both passwods ?? the doc doesn't give any info about that.

from local machine to remote one it works corectly, but from remote to remote?

thanks for help
bela



Also in terms of authentication, its as if 172.19.5.75 is doing it, not you. Wherever you are is only authenticating to 172.19.5.75.

You will need to see about generating a key on 172.19.5.75 and putting the public key in the ~/.ssh/authorized_keys file on 172.19.5.75

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Reply to: