On Monday 09 August 2010 21:52:21 Rony wrote: > On Sunday 08 August 2010 09:49 PM, jtd wrote: > > On Sunday 08 August 2010 19:57:17 Raj Mathur (राज माथ�र) wrote: > >> On Saturday 07 Aug 2010, jtd wrote: > >>>> What I want to do is transfer files from one to another > >>>> without my client system downloading any files. (both have > >>>> /public_html folders. The files from one need to be xfered to > >>>> another) > >>> > >>> If you have ssh you should have scp. > >>> scp [email protected]:/x/y [email protected]:/z/y > >> > >> Will this actually transfer between aa and nn without routing > >> the data through the local host? Can someone confirm > >> definitively? > > > > Essentially control tells aa to send data to nn. > > which is the same as ssh to aa, fire script (which transfers data > > to nn) and get out leaving script running. > > > > So all data flows only from aa to nn. > > I doubt if aa will start a secure connection with nn if keys are > with someone else. > Has this been tried on fresh machines that have > no previous keys stored?
That is why you require paswordless ssh, or prior exchange of keys. Besides I am quite sure you would not want to have that capability anyway. > What will happen is that the control > machine establishes ssh connections with both machines and aa will > transfer data to nn *via* the control host through some memory > buffer, which the OP does not want to do. This never happens. scp does not work as a relay, but as a command and control system. So it is the exact same as ssh into aa, fire script to transfer to nn. getout. Script can also use stuff like expect to automate a first time connection between two machines or use GSSAPIKeyExchange (neither of which I have used before). Hence no data flows to control. > This is also a double > load on the internet connections. The 2 hosts may have high speed > internet grade connections whereas the control host may be just a > piddly low speed remote link. -- Rgds JTD -- http://mm.glug-bom.org/mailman/listinfo/linuxers

