On 21 Jan 2003, Jeff Bearer wrote: > I want to copy a file from host A to host B while on host C. Host C uses > public key auth to login to A and B. > > But when I try this: > hostC #> scp hostA:/tmp/file hostB:/tmp/file > > I get this: > Host key verification failed. > lost connection > > But If I do this: > hostC #> scp hostA:/tmp/file ./; scp ./file hostB:/tmp/file > > It works. Can somebody clue me in to what's the problem?
Though some of the other replies seem to indicate it will work, I have never been sucessfully at it either. My limited research suggests that ssh was not designed to support this arrangement. My alternative would be to ssh tunnel from hostA to hostB thru hostC. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list