[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#351489: openssh-client: fails to RSA authenticate between distinct remote hosts



found 351489 1:5.9p1-1
thanks

On 2006-02-05 03:23:42 -0500, Justin Pryzby wrote:
> But it doesn't work when transferring between distinct remote hosts:
> 
>   scp justinpryzby.com:s.php cyberia.stlawu.edu:/tmp
> 
> scp -v indicates that authentication is successful for j/p.com, but
> fails for cyberia.  It seems that scp is connecting to j/p.com, and
> then sending an scp command requesting that s.php be sent from the
> localhost (j/p.com) to cyberia.

I have the same kind of problem (without the -3 option).

> -Copies between two remote hosts are permitted.
> +Copies between two remote hosts are permitted and are implemented
> +efficiently by connecting to host2, and sending scp commands
> +requesting the files from [[user@]host1]... over scp.  This avoids
> +transferring the files intermediately to the host sending the initial
> +scp command; a given datafile is only ever sent between 2 hosts.

Actually it seems to do the opposite: connect to host1, and host1
connects to host2 (BTW, that's why it should be documented, because
both ways are not equivalent). It should also say how the hosts are
interpreted: both hosts related to the local .ssh/config, or host2
related to the .ssh/config on host1?

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)



Reply to: