rsync and copSSH

4 posts / 0 new
Last post
Anonymous
rsync and copSSH

I am able to successfully connect to my copSSH server at home using Putty, but am having difficulty getting rsync to work over the secured connection using the following command. I am trying to copy files from here at work to a backup directory at home using this command:

rsync -avzr homeusername@localhost:"/cygdrive/c/material/" "/cygdrive/d/material/

I have configured Putty to tunnel Port 22.

 I placed the same version of rsync in the copSSH server directory at home as the one here at work.
 
 Here's the error I get:
 
 07:41:53.053 Starting a new SSH2 session.
 07:41:53.053 Connecting to SSH2 server 204.12.222.120:6666.
 07:41:53.053 Connected.
 07:41:53.053 Starting first key exchange.
 07:41:53.053 Server version string: SSH-2.0-OpenSSH_4.7
 07:41:53.053 New host key received. Algorithm: ssh-rsa, Size: 2048 bits, MD5 Fingerprint: 5a:b4:f3:ca:38:d4:bb:bd:81:c3:92:27:eb:53:aa:56, Bubble-Babble: xisaf-pebon-letap-kutaz-zafak-zigaz-tubyc-razys-zugyz-nufud-roxix.
 07:41:53.053 First key exchange completed.
 07:41:53.053 Key exchange: diffie-hellman-group14-sha1. Session encryption: aes256-cbc, MAC: hmac-sha1, compression: none.
 07:41:53.053 Attempting 'password' authentication.
 07:41:58.058 Authentication completed.
 07:41:58.058 Initializing client-side client-2-server forwarding on 127.0.0.1:22 succeeded.
 07:41:58.058 Initializing FTP-to-SFTP bridge on 127.0.0.1:21 succeeded.
 07:41:58.058 Initializing SOCKS / HTTP CONNECT proxy on 127.0.0.1:8080 succeeded.
 07:42:03.003 Accepted client-side client-2-server connection from 127.0.0.1:1587 to localhost:22.
 07:42:04.004 Server rejected our attempt to open a client-side client-2-server connection - reason: SSH_OPEN_CONNECT_FAILED, description: Connection refused.
 07:42:04.004 Closing client-side client-2-server connection from 127.0.0.1:1587 to localhost:22, sent: 0, received: 0.

I know I'm doing something wrong but I am close. Can someone please help me out with the correct syntax?

Thank you.

itefix
Offline
Last seen: 3 days 9 hours ago
Joined: 01.05.2008 - 21:33
Re: rsync and copSSH

There are some messages about ftp/sftp bridge, socks and so on. I can not understand how they applies to an rsync/ssh connection. Where do they come from ?

snowdrift
Re: rsync and copSSH

I should have clarified that cut-and-paste... I use Bitvise Tunnelier. It is Tunnelier that is doing those "bridges." Forget that pasting... I still have trouble with just using Putty 0.60 to try to rsync to home from here at work.

Thanks.

itefix
Offline
Last seen: 3 days 9 hours ago
Joined: 01.05.2008 - 21:33
Re: rsync and copSSH

Your command uses the default built-in ssh transport mechanism, which requires firing up rsync daemon once at server side. This configuration is error prone and is not supported. Try to use secure channel wizard to set up a working configuration by using external tunnels.

Topic locked

Release announcements