At 09:12 21/01/2003 -0500, you wrote:

> Only a wild guess but can hostA scp to hostB ?

It can, but it's not setup with public key authentication.  but from the
best of my understanding, it shouldn't need to. the file should be
transferred like this:

A -> C -> B

and not:

  A  ->  B
  ^
   \
    C


When I check the error logs, it makes no mention of A trying to connect
to B, just C.
Hi Jeff,

From the man page I can't see anything to support your argument.
(Nor mine either. ;> )
From an engineering perspective it would be a waste of bandwidth
and a possible issue of disk space to copy files via an intermediate host, imho.


Interestingly I just tried to scp between to remote hosts using
"[root@core]# scp nick@host-1:filename nick@host-2:/home/nick"
and unless host-2 was resolvable by host-1 then I got
"host-2: Name or service unknown" (which is resolver error, aistr).
The "command host", core, can resolve host-2 just fine, btw.

Putting host-2 into /etc/hosts on host-1 resulted in a timeout on port 22 of host-2
which was expected as host-1 is blocked by host-2 firewall. So the
resolver error came from host-1 it seems.
(phew, what a lot of hosts.... a host of hosts?)

This indicates to me that host-1 is attempting to contact host-2 directly.

I see nothing in my logs (am I looking in the wrong place?).

So I believe that hostA needs setting up to scp to hostB with public keys.


???
nick@nexnix








--
Jeff Bearer, RHCE
Webmaster, PittsburghLIVE.com
Winner 2002 Eppy Award, Best U.S. Newspaper Website



--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list


--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to