Re: Transfer files

2010-03-19 Thread Daniel Stenberg
On Fri, 12 Mar 2010, double wrote: Is there an easy way to transfer a file from server B to server C, if libssh2 runs on server A? To login on server B and put a file to server C via sftp? Well, you can send a command from A to server B: scp file rem...@c:file but other than so, SSH has no

Re: Transfer files

2010-03-19 Thread double
Hi Daniel, Daniel Stenberg schrieb: Well, you can send a command from A to server B: scp file rem...@c:file but other than so, SSH has no particular provisions for third party transfers the way you describe. Good idea! Quite simple. Thanks! Marcus

Re: Transfer files

2010-03-19 Thread Peter Stuge
double wrote: Is there an easy way to transfer a file from server B to server C, if libssh2 runs on server A? To login on server B and put a file to server C via sftp? You can use direct-tcpip to tunnel a second SSH connection between B and C back to A. Use SFTP within the tunneled connection.