-   Linux - Software (
-   -   SSH from windows to linux not working (

hamish 12-08-2004 02:01 PM

SSH from windows to linux not working

I'm in the processing of rsyncing between windows to my linux server.

I downloaded rsync from It runs in command line from windows.

When I try and ssh into my linux server from windows, I get errors. I have put them here for you to see:

THe local machine is called "archimedes" and the server is at

It seems to be able to establish the connection, but the server doesn't send a key. Is htis because the local version is older (1.2.26) than the server (OpenSSH 3.7.1p2)?


jmercier 12-08-2004 02:54 PM

sshd config.
Does your sshd accept version 1 keys?

Have you tried out cwRsync ? I use this for all my xp/2k --> Linux backups. It packages sshd/rsync into an installable package. Which is a little more updated than v1 ssh.


hamish 12-08-2004 03:01 PM


do you need to install cygwin to install cwRsync?


jmercier 12-08-2004 03:08 PM

cygwin is included in the install.

Its in a nice neat package with everything needed to run rsync | ssh. :-)


hamish 12-08-2004 03:37 PM

it is a good package. I'm just having some problems configuring it.

I can move local files about, not probs, but I tried going over SSH to my server, and got a error. It says that it can't find the config file.

Therefore, I told it where it was, but that didn't work either. The error is here:

One thing I haven't done is change my password and username from the default one given when the programme installed. I couldn't find where to do this.

My rsyncd.conf file is this:

use chroot = false
strict modes = false
hosts allow = *
log file = rsyncd.log
pid file =

# Module definitions
# Remember cygwin naming conventions : c:\work becomes /cygwin/c/work
path = /Program\ Files/cwrsnc/test
transfer logging = yes

Do i need to start the rsync daemon before I can transfer to the server?

Can you give me any hints, or show me your config file.?

I have looked at the how-to, but I dont' see my problem.


jmercier 12-08-2004 03:51 PM

You dont need rsyncd.conf for the client side(your windows box)

Its executed similar to your other ssh implementation.

example from the windows side, to backup all of C.


rsync -avH -e ssh /cygdrive/c user@rsyncserver:/dir

hamish 12-08-2004 03:55 PM


It is working now.

Solution: correct line should be rsync -e ssh -av hamish@

I havd two coloms (::) first time, and only one second time.


So the rsyncd.conf file is ONLY used by the daemon, that is, if you want to set the windows box up the server and the linux as the client. It isn't used if the linux box is the server?


hamish 12-08-2004 03:56 PM

we must have posted at the same time :)


All times are GMT -5. The time now is 08:48 AM.