Re: scp between two remote machines

From: Richard Whalen (WhalenR_at_process.com)
Date: 02/27/04


Date: Fri, 27 Feb 2004 08:50:17 -0500


"Jay Walker" <snowy_hedwig@hotmail.com> wrote in message
news:GFz%b.28035$Qg7.26624@news04.bloor.is.net.cable.rogers.com...
> scp
> scp [[user@]host1:]filename1... [[user@]host2:]filename2
> Scp copies files between hosts on a network. It uses ssh for data
transfer,
> and uses the same authentication and provides the same security as ssh.
>
> I am using Redhat 8.0 with openssl 3.5pl installed. I can't seem to use
scp
> to copy files between two remote hosts. A quick debug showed that the
> connection to the first remote machine was fine, but failed to connect on
> the second host (I can connect to the second host outside of the scp).
>
> Any ideas?
>
>

I've seen some implementations of scp attempt to optimize the network
traffic by sending the scp command to the source system to copy it to the
destination system. i.e. the source system would execute the following
command:

scp filename1 user@host2:filename2

While this would reduce network traffic, there are problems if user@host1
can't authenticate itself to user@host2.



Relevant Pages

  • RES: Is SSH worth it??
    ... attacker would have root access to another machines in your network. ... When I needed automated scripting using ssh and scp I used this programming ... SCP for automated scripts. ...
    (Security-Basics)
  • Re: Understanding iptables FC4
    ... >>I thought I knew what I was doing till you mentioned SSH, SCP, and DMZ ... > In a network, a DMZ is a middle ground between a trusted internal network and ...
    (alt.os.linux)
  • Re: Understanding iptables FC4
    ... > I thought I knew what I was doing till you mentioned SSH, SCP, and DMZ ... In a network, a DMZ is a middle ground between a trusted internal network and ...
    (alt.os.linux)
  • Re: root scp with no ssh login
    ... use ssh key autentication method ($HOME/.ssh/authorized_keys, ... > distributed via rcp with all hosts are known to each other. ... > I wanted to replace the rcp scripts using scp what imho is a good idea. ... > Furthermore I want root to be able to logon to a local console only. ...
    (comp.unix.aix)
  • Re: sshd known_hosts query
    ... I use ssh within ... You can get shell access, copy a few files with scp, ... A VPN probably a better solution where you have a network of> 1 ...
    (uk.comp.os.linux)