Hi:

    I'm trying to rsync files from Windows to Linux using cwrsync (Cygwin rsync 
http://www.itefix.no/i2/node/10650)


    I tried using the following command
 rsync.exe -vvvv -avz -e "plink -v -N -ssh -i c:\key\ludwig.ppk" 
--rsync-path="/usr/bin/rsync" 
/cygdrive/c/my_eclipse_workspace/Library_Queue/src 
linhou@<hostname>:/home/accos/accos_source_staging

    After the program just hung after displaying the following messages 
(below). Anyone here has use cyrsync? I tried googling, but most of the post 
are 5 years older.


FILE_STRUCT_LEN=16, EXTRA_LEN=4
cmd=plink -v -N -ssh -i c:\key\ludwig.ppk machine=<hostname> user=linhou 
path=/home/accos/accos_source_staging
cmd[0]=plink cmd[1]=-v cmd[2]=-N cmd[3]=-ssh cmd[4]=-i cmd[5]=c:\key\ludwig.ppk 
cmd[6]=-l cmd[7]=linhou cmd[8]=<hostname> cmd[9]=/usr/bin/rsync 
cmd[10]=--server cmd[11]=-vvvvvlogDtprze.iLsf cmd[12]=. 
cmd[13]=/home/accos/accos_source_staging
opening connection using: plink -v -N -ssh -i "c:\key\ludwig.ppk" -l linhou 
<hostname> /usr/bin/rsync --server -vvvvvlogDtprze.iLsf . 
/home/accos/accos_source_staging
note: iconv_open("UTF-8", "UTF-8") succeeded.
Looking up host "<hostname>"
Connecting to <ip> port 22
Server version: SSH-2.0-OpenSSH_4.3
We claim version: SSH-2.0-PuTTY_Release_0.60
Using SSH protocol version 2
Doing Diffie-Hellman group exchange
Doing Diffie-Hellman key exchange with hash SHA-1
Host key fingerprint is:
ssh-rsa 2048 bd:31:b2:ba:43:99:41:42:78:e1:1c:e3:32:da:55:70
Initialised AES-256 SDCTR client->server encryption
Initialised HMAC-SHA1 client->server MAC algorithm
Initialised AES-256 SDCTR server->client encryption
Initialised HMAC-SHA1 server->client MAC algorithm
Reading private key file "c:\key\ludwig.ppk"
Pageant is running. Requesting keys.
Pageant has 1 SSH-2 keys
Pageant key #0 matches configured key file
Using username "linhou".
Trying Pageant key #0
Authenticating with public key "rsa-key-20090305" from agent
Sending Pageant's response
Access granted

Regards,
Ludwig
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph

Reply via email to