Re: scp host1:file host2:directory ?
From: Dimitri Maziuk (dima_at_127.0.0.1)
Date: 05/01/03
- Previous message: Bill Unruh: "scp host1:file host2:directory ?"
- In reply to: Bill Unruh: "scp host1:file host2:directory ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 30 Apr 2003 22:36:32 +0000 (UTC)
Bill Unruh sez:
>
> I have a machine A which has direct ssh (authorized hosts) permission on
> machines B and C.
>
> If I do
> scp B:file C:directory
> I get a permission denied, while if I do
> scp B:file /tmp
> scp /tmp/file C:directory
> It works like a charm. What is happening? Is scp on A telling scp on B
> to directly send to C:? I would expect that command to tell B to send to
> A, and then A sends to C. Is this expectation wrong?
It works if your key is on all three machines.
Dima
-- "Mirrors and copulation are abominable because they increase the number of entities." -- corollary to Occam's Razor
- Previous message: Bill Unruh: "scp host1:file host2:directory ?"
- In reply to: Bill Unruh: "scp host1:file host2:directory ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|