Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-03-2005, 11:05 AM   #1
Registered: Mar 2002
Posts: 51

Rep: Reputation: 15
Rsyncing between windows client and gentoo server, over ssh, using key for auth.

Hi all,

I'm having quite a time getting this working.
Effectively, what I want to do is have a one-click rsync over ssh. The client is a windows machine, and I've been attempting to use cwrsync for the connection. I've got a key stored in Pageant, so I can use Putty and TortoiseSVN to connect just fine. However, if I try to use cwrsync with Plink as the shell, it is unable to get the key from Pageant. This is apparently a known problem, and seems to somehow relate to communication between programs started through cygwin (as Plink is in this case), and programs started regularly (as Pageant is in this case).
So, the solution seems to be installing Cygwin, and running Pageant with Cygstart. This appears to work, except that once the connection is established, cwrsync says "Unable to write to standard output", and quits. The only reference I found to this problem says that perhaps something is being printed on non-interactive logins. I'm not entirely sure what this means.
Additionally, when I do log in using Plink run by cygstart, the command prompt is weird. Perhaps this is related, it looks as follows.

?[01;32malec_munro@development ?[01;34m~ $ ?[00m

The question marks are arrows pointing left.

Any help, or alternative suggestions would be very much appreciated.


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
VNC over SSH. Windows client - Linux Server c_mitulescu Linux - Networking 30 05-20-2007 11:20 PM
which is better- rsyncing number of files OR taking a tar and rsyncing it hk_linux Linux - General 7 02-04-2005 09:17 AM
ssh-add key for windows hamish Linux - Networking 4 01-13-2005 07:43 PM
to 2.6.10 from 2.4.26 | ssh client | Host key verification failed kaN5300 Slackware 6 01-05-2005 10:04 PM
When I ssh to a server, the end key doesn't work (tcsh) TroelsSmit Linux - Newbie 0 10-07-2004 05:44 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:10 PM.

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