LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-08-2004, 02:01 PM   #1
hamish
Member
 
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Rep: Reputation: 30
SSH from windows to linux not working


Hello

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

I downloaded rsync from http://optics.ph.unimelb.edu.au/help...sync_pc1.html. 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:
http://hamishnet.homelinux.com/~pub/ssh_errors.gif

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

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)?

Thanks
Hamish
 
Old 12-08-2004, 02:54 PM   #2
jmercier
LQ Newbie
 
Registered: Nov 2004
Location: Dallas, TX
Distribution: Suse 10
Posts: 25

Rep: Reputation: 15
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.


Justin
 
Old 12-08-2004, 03:01 PM   #3
hamish
Member
 
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Original Poster
Rep: Reputation: 30
hey

do you need to install cygwin to install cwRsync?

hamish
 
Old 12-08-2004, 03:08 PM   #4
jmercier
LQ Newbie
 
Registered: Nov 2004
Location: Dallas, TX
Distribution: Suse 10
Posts: 25

Rep: Reputation: 15
yes.

cygwin is included in the install.

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

Justin
 
Old 12-08-2004, 03:37 PM   #5
hamish
Member
 
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Original Poster
Rep: Reputation: 30
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:
http://hamishnet.homelinux.com/~pub/cw_error.gif

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:
Code:
use chroot = false
strict modes = false
hosts allow = *
log file = rsyncd.log
pid file = rsyncd.pid

# Module definitions
# Remember cygwin naming conventions : c:\work becomes /cygwin/c/work
#
[test]
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.

Regards,
Hamish

Last edited by hamish; 12-08-2004 at 03:40 PM.
 
Old 12-08-2004, 03:51 PM   #6
jmercier
LQ Newbie
 
Registered: Nov 2004
Location: Dallas, TX
Distribution: Suse 10
Posts: 25

Rep: Reputation: 15
..

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.

Code:
rsync -avH -e ssh /cygdrive/c user@rsyncserver:/dir
 
Old 12-08-2004, 03:55 PM   #7
hamish
Member
 
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Original Poster
Rep: Reputation: 30
EDIT:

It is working now.

Solution: correct line should be rsync -e ssh -av hamish@10.0.0.2:~/rsync1

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

Sorry.

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
 
Old 12-08-2004, 03:56 PM   #8
hamish
Member
 
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Original Poster
Rep: Reputation: 30
we must have posted at the same time

thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
multiple terminal windows for ssh in linux nasarlinux Linux - General 3 09-23-2005 09:13 AM
ssh windows to linux Longinus Linux - Networking 3 04-18-2004 11:44 AM
ssh from windows to linux and vice versa pyromania Linux - Networking 6 04-14-2004 04:17 PM
Windows to Linux ssh backup? SSBN Linux - Networking 1 03-20-2004 01:12 AM
SSH connection Windows to Linux time112852 Linux - Networking 11 09-19-2003 03:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration