To preface, I'm running Leopard OSX and am using rsync version 2.6.9 protocol version 29. Whenever I attempt to sync (using rsync obviously) a folder on my local drive to my web server (netfirms.com is my web host) using SSH, the process hangs. I have to force kill it in order to continue using Terminal. I can connect to my server space using SSH just fine by itself, and I ran rsync to sync two folders locally just fine. Is there some special syntax I need to use when using rsync with SSH? I've searched google and the mailing lists, and I didn't find much. I'm fairly inexperienced with Unix, so I believe that I am the culprit of this problem :-) This is the syntax I'm using: 'rsync -avz /iWeb/test [username]@ssh.netfirms.com:TEST' (I have tested using just '-v' and nothing is displayed) /iWeb/test is the folder I'm trying to sync to the folder TEST on my web space. Is this a problem I need to take to my webhost, netfirms.com? Or is this an issue with my rsync configuration? Like I said, I know little about unix, so I have a feeling I may have configured something wrong. This is really frustrating me, and help would be greatly appreciated. Thanks in advance! -Greg
Fabian Cenedese
2007-Dec-03 08:10 UTC
rsync hangs when accessing through SSH (Leopard OS X)
At 15:39 02.12.2007 -0500, Greg Loesch wrote:>To preface, I'm running Leopard OSX and am using rsync version 2.6.9 >protocol version 29. > >Whenever I attempt to sync (using rsync obviously) a folder on my >local drive to my web server (netfirms.com is my web host) using SSH, >the process hangs. I have to force kill it in order to continue using >Terminal. I can connect to my server space using SSH just fine by >itself, and I ran rsync to sync two folders locally just fine. Is >there some special syntax I need to use when using rsync with SSH? >I've searched google and the mailing lists, and I didn't find much. >I'm fairly inexperienced with Unix, so I believe that I am the culprit >of this problem :-)Please look in the mailing list's archive, rsync stalls keep coming up. e.g. http://lists.samba.org/archive/rsync/2007-November/019243.html or http://lists.samba.org/archive/rsync/2007-October/018770.html bye Fabi
Izidor Jerebic
2007-Dec-07 17:45 UTC
rsync hangs when accessing through SSH (Leopard OS X)
On 7.12.2007, at 17:13, Greg Loesch wrote:> Okay, I tried adding the extra v's and this is what I ended up with. > I'm now using the latest version (3.0.x or whatever it is). > > FILE_STRUCT_LEN=16, EXTRA_LEN=4 > cmd=<NULL> machine=[sitename] user=[username] path=[filepath] > cmd[0]=ssh cmd[1]=-l cmd[2]=[username] cmd[3]=[sitename] > cmd[4]=rsync cmd[5]=--server cmd[6]=-vvvvvvvvvlogDtprze30.15i > cmd[7]=. cmd[8]=[filepath] > note: iconv_open("UTF-8", "UTF-8") succeeded. > opening connection using: ssh -l [username] [sitename] rsync -- > server -vvvvvvvvvlogDtprze30.15i . [filepath] > [username[@[sitename]'s password: > > Once I enter my password it hangs. Is this of any help? I did > contact the webhost and this is what the guy told me, "At the > moment, we do not support this UNIX SSH command." Does that make > sense? >It is strange to allow ssh and disallow rsync, but possible... It seems that you are out of luck. izidor
Alexandros Papadopoulos
2007-Dec-08 11:32 UTC
rsync hangs when accessing through SSH (Leopard OS X)
On Sunday 02 December 2007 22:39, Greg Loesch wrote:> To preface, I'm running Leopard OSX and am using rsync version 2.6.9 > protocol version 29. > > Whenever I attempt to sync (using rsync obviously) a folder on my > local drive to my web server (netfirms.com is my web host) using SSH, > the process hangs. I have to force kill it in order to continue using > Terminal. I can connect to my server space using SSH just fine by > itself, and I ran rsync to sync two folders locally just fine. Is > there some special syntax I need to use when using rsync with SSH? > I've searched google and the mailing lists, and I didn't find much. > I'm fairly inexperienced with Unix, so I believe that I am the culprit > of this problem :-) > > This is the syntax I'm using: > 'rsync -avz /iWeb/test [username]@ssh.netfirms.com:TEST'1. Is rsync installed on the machine you're transferring stuff to? 2. Assuming the destination folder TEST is in your home directory on the target server, try the syntax: rsync -avvz -e "ssh -v" /iWeb/test [username]@ssh.netforms.com:~/TEST -A