scp host1:file host2:directory ?

From: Bill Unruh (unruh_at_string.physics.ubc.ca)
Date: 04/30/03


Date: 30 Apr 2003 20:26:47 GMT


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?



Relevant Pages

  • Re: Issue with scp copying file from Solaris to VMS box
    ... As for the garbage at the end of the file, you'll have to give more details ... you initiated the copy from the VMS side or the Unix side? ... i am pretty much clear though that it is a permission thing, ... permissions to so that the scp goes through well... ...
    (comp.os.vms)
  • Re: Autodiscover issue
    ... autoconfiguration test via Outlook 2007, I fail to connect to the SCP. ... permission issue but can't seem to find out where the permissions changed. ... time that AutoDiscover broke. ...
    (microsoft.public.exchange.admin)
  • Re: scp host1:file host2:directory ?
    ... > I have a machine A which has direct ssh permission on ... Is scp on A telling scp on B ... It works if your key is on all three machines. ...
    (comp.security.ssh)
  • Re: trouble with scp
    ... > I am using scp to move file from one machine to another. ... > I have difficulties with a .pdf file: ... > but it works with a .ps ith the same permission. ... Absurd Procrustean Egghead Cornstarch Variant Bill Marcum ...
    (comp.unix.questions)

Quantcast