Advanced Forum Search
Post date: Tuesday, August 30, 2005 - 19:43
Post date: Tuesday, August 30, 2005 - 07:28
I have installed copssh1.3.3 server on W2k and connect from Unix client.
"lingl" is a local account on W2K that can manage windows cluster resource.
If I use password-authentication, I can see the cluster information on Windows.
hp:/fcshome/users/lingl> ssh lingl@focpw001
Last login: Tue Aug 30 14:11:07 2005 from hp
-bash-2.05b$ cluster FOCP resource
Listing status for all available resources:
Resource Group Node Status
-------------------- -------------------- --------------- ------
But if I use non-password authentication, I will get a Access Denied error:
hp:lingl:/tmp> ssh lingl@focpw001
Last login: Tue Aug 30 14:13:37 2005 from hp
-bash-2.05b$ cluster FOCP resource
System error 5 has occurred.
Access is denied.
Could you please advise what is the root cause?
Post date: Tuesday, August 30, 2005 - 02:02
Most of my servers are running Linux. I use rsync to back up my live servers to my backup drives, and it works quite nicely. Now I have to start backing up two Windows servers (Windows 2003 Server).
I installed rsycn from this site (itefix.no), version 2.6.5. I editted my rsyncd.conf to look like:
use chroot = false
strict mode = false
hosts allow = *
path = /cygdrive/c
read only = true
transfer logging = yes
I then started the openssh and rsync services manually. Now from the Linux box I am attempting to:
rsync -vru --rsh="/usr/bin/ssh" SvcwRsync@www3:/c /media/ieee1394disk1/www3/c
I get prompted for a password, and enter the pw for that user. I get "Permission denied, please try again.". I try again, using a user name defined in the Windows user base, with a known good password. Same error.
I assume I'm either formatting my request to the Windows server incorrectly or have messed up the config file on the Windows box. Does anyone have any suggestions as to what I should be looking at first?
Post date: Monday, August 29, 2005 - 22:30
It seems that problems are installation-specific. To be able to help you and recommend something useful, I need to know exact configuration you use at both sides.
Post date: Friday, August 26, 2005 - 15:44
Just setup the copssh on a windows 2003 server. Everything went wel during the install. After activating a user, I seem to login, because I see the last login date. Then at the same time I'm disconnected. Everytime, I see a quick error message like: setgid: Invalid argument
I've installed the application 3 times now and don't know what I actually doing wrong. Can someone help me please?
Post date: Friday, August 26, 2005 - 00:05
Ok, I had CWRSYNC working great except for the fact that I would get occasional errors. So it was suggested by support that I use the openssh that it came with. I installed it (fresh) v2.0.2 but got errors when trying to run bash.exe about a missing dll. So I put on v2.0.1 and bash works. Fine, I can live with 2.0.1. But for the life of me I cannot seem to get this working through openssh. I am using the secure wrapper code and it all worked with vandyke ssh but not openssh. This is my error:
opening tcp connection to localhost port 9119
Post date: Thursday, August 25, 2005 - 16:48
Ok, silly question. I'm now trying to get CWRSYNC to work through the built in SSH instead of using VANDYKE. I am struggling. First off right after I install CWRYSNCSERVER, I try launching bash from the shortcut and it complains about cygncurses-8.dll not being found. Do I need to install COPSSH? Also, when generating public keys with NULL, how to you test an SSH connection manually? Just hit enter?
Post date: Thursday, August 25, 2005 - 13:56
Hello,Forgive me i'm not good in English. I'm installing BackupPC-2.1.1 on Fedora Core 3. I want to use rsyncd as xfer method. So i use cygwin-rsyncd-2.6.2 on windows xp professional host(192.168.10.10). It doesn't work. I see this in log file:
Backup failed to connect to 192.168.10.10: Backup aborted(inet connect:connexion refusée).
So i tried from linux server(192.168.10.5) this command (for user luka):
rsync -av email@example.com::cdrive
Post date: Thursday, August 25, 2005 - 00:05
Is there a way to change the ssh port? The reason that I ask is that my ftp server has a built in ssh server, that only works with the ftp server, and it is listening on port 22.
I want to use cwRsync and ssh and thought that maybe I could install a 2nd ssh server which listens to a different port.
Post date: Wednesday, August 24, 2005 - 19:08
I have some problems to run a backup with rsync via a ssh-tunnel.
The machines i try to backup are windows 2000 workstations and servers - all with an up-to-date patchlevel.
The machine collecting the backups is a debian 3.1. I have no problems running a rsync-backup in a linux-linux-configuration.
I use cwRsync 2.0.2 with openSSH-Server and certificate-based-authentication.
Post date: Tuesday, August 23, 2005 - 19:17
I'm really new to this whole SSH server thing and have spent days trying to decypher various ways of implementing SFTP from CYGWIN to openSSH and on. My next stop is COPSSH which i have been able to install. I am comfused as to where to go from there. The server ison a domain and I have a single client computer on that domain at home right now. I would like to access the FTP fold via SFTP from my job using Dreamweaver MX 2004 which supports SFTP. Where do I start?
Post date: Monday, August 22, 2005 - 22:53
I keep getting the following error (randomly) both systems running Windows 2003 SP1. I have plenty of disk space on the destination server. I get this error randomly with and without the compression flag. This is driving me nuts! Any thoughts?
building file list ... Read from remote host 10.x.x.x: Connection reset by peer
rsync: read error: Connection reset by peer (104)
rsync error: error in rsync protocol data stream (code 12) at io.c(584)
Terminating secure channel ...
Post date: Monday, August 22, 2005 - 21:14
FYI, users of cwRsync might be interested in this project:
which provides an rsync compatible encryption and compression algorithm. (At least in theory. I haven't got it working yet.)
I ran across it while looking for a Win32 binary of gzip that had been patched to include an rsync compatible algorithm.
Post date: Monday, August 22, 2005 - 19:53
I have rsync installed and setup properly to connect over ssh to my server. It counts the files just fine but then it just stops after two files. Any ideas?
Post date: Friday, August 19, 2005 - 18:56
After upgrading my rsync server installation to 2.0.2 I ran a backup script and got:
receiving file list ... rsync: link_stat "/Administrator/Application Data/." (in Profiles) failed: No such file or directory (2)
client: nothing to do: perhaps you need to specify some filenames or the --recursive option?
rsync error: some files could not be transferred (code 23) at main.c(812)
Nothing else had changed. The config file was copied over from the previous installation. The "--recursive option" suggestion made no sense as I was using -a already.
Although it is claiming "No such file or directory," knowing that newer cwRsync installs run under a SvcwRsync user account, and that my original system ran under Administrator, I suspected permissions. Sure enough, granting read access to SvcwRsync for the directory in question solved the problem.
This is probably a problem with the upstream rsync code (or the way Cygwin maps OS errors) and not something that can be fixed in cwRsync, but perhaps should be an FAQ somewhere and maybe passed on to the upstream projects.
Post date: Thursday, August 18, 2005 - 22:35
I have tried installing 2.0.2 on a Win 2000 server and it does not create the services. The only information that it gives is that the service is not installed when it checks for it.
I have tried downloading and installing the 2.0.0 with extra logging, but there was no additional help that I saw in the logging.
Here is the section in question:
Creating service account SvcwRsync
The command completed successfully.
User name SvcwRsync
Comment cwRsync service account
Country code 000 (System Default)
Account active Yes
Account expires Never
Password last set 8/18/2005 12:30 PM
Password expires 9/30/2005 11:17 AM
Password changeable 8/18/2005 12:30 PM
Password required Yes
User may change password Yes
Workstations allowed All
Last logon Never
Logon hours allowed All
Local Group Memberships *Users
Global Group memberships *None
The command completed successfully.
Grant required privileges to the service account
Granting SeServiceLogonRight to SvcwRsync ... successful
Installing rsync daemon as a service
/cygdrive/c/cwRsyncServer/bin/cygrunsrv: Error querying a service: OpenService: Win32 error 1060:
The specified service does not exist as an installed service.
Post date: Thursday, August 18, 2005 - 12:25
I have installed the copssh on a german Windows XP and the Server is working. I can login as Administrator.
If it want to add a local user i get a error-message. I think it hase something to to with the german installation. Do anybody have a solution for this?
Enter a user account for activation : fffff
/tmp/_tmp1: line 1: syntax error near unexpected token `('
/tmp/_tmp1: line 1: `LookupUserFromRid error! (rc=122)'
Generate PKA keypair with null passphrase!
Private key is /home/rihe/.ssh/fffff
A shortcut/symbolic link to your windows home directory is created (myhome).
Zuordnungen von Kontennamen und Sicherheitskennungen wurden nicht durchgeführt.
processed file: C:\Programme\copssh\home\fffff\.ssh\rihe
chown: `fffff:Administrators': invalid group
chown: `fffff:Administrators': invalid group
Activation process for rihe is completed.
You may establish an ssh connection to this machine now.
Post date: Wednesday, August 17, 2005 - 16:08
Where can I find documentation about rsync logs, what each line means, different possible errors, how to extract the job status from it.
Thanks for your help !! :)
Post date: Wednesday, August 17, 2005 - 09:16
I have installed the latest cwrsync on my XP box. I want to make backups to my Debian (sarge) box.
The rsync commands are working fine, but it asks me for a password.
I generated with sshkeygen two keys (id_rsa.pub and id_dsa.pub) and placed the in the XP .ssh users home directory. I copied them over to the Debian box, in the home directory under .ssh and parsed them into the authorized_keys file.
The way I generated the keys are:
c:\progra~1\cwrsync\bin\ssh-keygen -t rsa -N "" -f .ssh\id_rsa
c:\progra~1\cwrsync\bin\ssh-keygen -t dsa -N "" -f .ssh\id_dsa
Now I checked the permissioning rights on the Debian box and they seem ok. (Run chmod 644 on the authorized_keys file)
Can anyone help me? Is there a way to increase the logs either on the XP box or on Debian, so I can see what is happening? I have the impression it doesn't even try to authenticate...
I attached the 1>stdout.log 2>sterr.log at the end of the command, but nothing in there.
Post date: Tuesday, August 16, 2005 - 23:07
Hello,In a Intranet Windows domain, why use rsyncd (under cygwin) on a Window$ file server and not juste share folders?
Post date: Tuesday, August 16, 2005 - 16:41
This is an enhancement request to the copSSH maintainers: Please make it so the Installer does not overwrite files in the /etc directory. In my case, I have server keypairs I've generated myself, a modified config file, and other things which I want to preserve when I install a new version of copSSH.
Let me take this opportunity to say that I think copSSH is a fabulous implementation of OpenSSH on Windows(TM). Bravo!
Post date: Monday, August 15, 2005 - 19:18
I installed the latest version of the cwrsync-server on a windows2003 Server (German version).
The install-log and process seems fine. When I want to start the service, always appears the error 1067 (unexpected ending..).
The Task-Mananger shows a task rsync.exe ownend by the account created at the setup-process. rsync from a linux client runs .... and the files are copied.
Really a problem or just another windows-error nobody knows ?
Post date: Friday, August 12, 2005 - 11:32
I installed rsync on a Win2K server. I created an rsync path to /cygdrive/d read-only.When I start rsync from my Linux backup-server, it only receives 4475 files and directories, and I get some 'File has vanished' errors (which is normal for files that have filenames in another coding than used by rsync).
Can the rsync daemon on Windows access all files? Lots of the files on my server have special permissions that only the domain admin and a user can read them. Because the daemon runs as a local user account, I assume it won't work on domain permissions.
Post date: Friday, August 12, 2005 - 01:01
I have got one windows 2003 (Domain Controller) server replicating to another windows 2003 (Domain Controller) server using Rsync 2.0.2! I am only replicating data I am not replicating any programs ONLY DATA that is shared on the Network. I am having troulbe getting the permissions to copy over with the data I am copying. Is there away to copy permissions with RSYNC in a Windows Enviroment? If so please help... I am using the -rvpgt switches with in Rysnc but they seem uneffictive as far as the permissions go, everything else works fine!
Post date: Thursday, August 11, 2005 - 15:55
I'm installing cwrsync in a winXP machine as server and a Linux client.When I finish the setup program, I activate the service Rsync and SSH in windows. Then I try to access from the linux client, but linux said me:
# ssh -l viktor serverip
Permission denied, plase try again.
How I can set a user and a password valid for use the rsync server?