scp between two remote machines

From: Jay Walker (snowy_hedwig_at_hotmail.com)
Date: 02/27/04


Date: Fri, 27 Feb 2004 04:26:14 GMT

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?



Relevant Pages

  • Re: scp between remote hosts.
    ... ABS> and passwords? ... ABS> second host. ... Because the SSH connection to the first host lacks a channel by which the ... scp running there to prompt you for the password. ...
    (comp.security.ssh)
  • 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: Copying files between hosts on the command line?
    ... If I want to copy some files via the command line between 2 hosts, ... the weapon of choice? ... Make sure ssh works between the hosts before ... trying out scp. ...
    (uk.comp.sys.mac)
  • Re: Its time for those 2048-, 3072-, and 4096-bit keys?
    ... you _CAN_ copy between two remote hosts. ... > scp man page says in the second paragraph of DESCRIPTION: ... Here's what I worry about. ...
    (FreeBSD-Security)
  • Re: Fw: Net::SCP::Expect
    ... I am using a proper hostname, and have even tried several different hosts. ... login, hostname, filename, password, etc by scp the file manually. ...
    (perl.beginners)