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

Re: scp from remote to remote machine



On Fri, Jun 10, 2005 at 12:38:48PM +0100, 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
> 
What you probably want is

ssh host1 scp <file> host2:<directory>

If you throw that all on the same command line, it should work.

-Roberto
-- 
Roberto C. Sanchez
http://familiasanchez.net/~sanchezr

Attachment: pgpDbyNsJeOlE.pgp
Description: PGP signature


Reply to: