I have created hosts.allow and host.deny files in C:\Program Files\cwRsyncServer\etc but the ssh server does not appear to be using them. Do I need to put the files someplace else? Can these files be used for access control with the ssh server that comes with cwRsyncServer?
Also, Changing the LoginGraceTime does not seem to work.
Thanks,
Chris
Advanced Forum Search
-
Post date: Friday, November 4, 2005 - 01:50
-
Post date: Thursday, November 3, 2005 - 01:21
known_hosts contains a list of servers.
because we have one of the servers rebuilt, the host key is changed, so we have to update the known_hosts file. How can we update the file for only one server's host-key ?Thanks
YF -
Post date: Tuesday, November 1, 2005 - 10:14
Hi all!
I've configured copSSH service to run as a domain user. What will happend if I update copSSH 1.3.4 to 1.3.6 using the installation program? Will there be any problems?/Erik
-
Post date: Monday, October 31, 2005 - 10:31
Can you see something strange in the installation log (Click details button during installation) ?
-
Post date: Sunday, October 30, 2005 - 02:35
How can I change the password for the Openssh Server that is installed. This is for if I simply want to ssh in - not for generating keys. I see the program "pwdgen" which gives passwords -but they do not work when sshing in. I can see I am reaching the server program as it asks for username and passowrd -but just bombs out on passwork.
I saw the password pop up - but it said it would also be in the details page and the one there is not the same - no \ in it, etc. -
Post date: Thursday, October 27, 2005 - 22:55
I have COPssh installed on a win xp sp2 system. It all runs ok until the system restarts. After restart, when I try to remotely ssh to the computer I get the following error:
ssh_exchange_identification: Connection closed by remote hostThe COPssh log has the following entry:
48125047 sshd 1748 fork_copy: linked dll data/bss pass 0 failed, 0x3DC000..0x3DC040, done 0, windows pid 3584, Win32 error 487
-
Post date: Wednesday, October 26, 2005 - 21:44
Does anyone know how or if when upgrading cwRsync to keep the SSH RSA key? It's a pain to have to reconfigure the clients with a new RSA key every time we upgrade. Maybe there is an import/export function? Or maybe CopSSH is a more flexible distribution than the included...
-
Post date: Wednesday, October 26, 2005 - 20:02
I am new to cwrsync. When I try to run a batch command (generated by the wizard) on the client, I invariably get: rsync: failed to connect to localhost: Connection refused (111)
rsync error: error in socket IO (code 10) at clientserver.c(98)
The port (default 9119) is open to both tcp and udp. Does anyone have any suggestions? I have been trying different things for several days now. The client is running windows 2003 server as is the server...The command is:
Command to run: "C:\Program Files\cwRsync\bin\rsync.exe" -avWz /cgdrive/c/rsyncf -
Post date: Wednesday, October 26, 2005 - 16:48
Hello,
is it possible to use UNC paths in rsyncd.conf.I'd like to have a rsync server that serves several remote shares.
As the number of shares to use is big, I don't want to map all drives (plus, I don't think the service would see thos mapped drives).
Also, I can definitly not install rsync on all remote servers.I tried the following without success:
path = //server/share
or
path = /cygdrive//server/shareThank you,
Patrick M.
-
Post date: Wednesday, October 26, 2005 - 16:06
Hi,
I'm giving up :-] I've been trying to get cwrsync 2.0.4 running with plink for about two hours, but it doesn't work.First of all, this is what runs without any problems:
- cwrsync with the supplied ssh (requests password, that's what I want to avoid in the first place)
- plink -l user host (of course still requests password)
- plink -i path\to\key -l user host (that's what I want)From that point of view I'd say everything should be fine and cwrsync + plink should work, too. Doesn't, though.
For the following, the rsync command is always
rsync -aznvvvvv . me@example.com:some/path
If I try to use plink as a 1:1 replacement for ssh, i.e. with password authentication, it doesn't ask for a password and just exists with "Access denied".
set RSYNC_RSH=plink
cmd= machine=example.com user=me path=some/path
cmd=plink -l me example.com rsync --server -vvvvvnlogDtprz . some/path
opening connection using plink -l st bitbrook.de rsync --server -vvvvvnlogDtprz . some/path
Access denied
Access denied
FATAL ERROR: Server sent disconnect message type 2
(SSH_DISCONNECT_PROTOCOL_ERROR): "Too many authentication failures for me"
rsync: connection unexpectedly closed (0 bytes received so far)
_exit_cleanup(code=12, file=io.c, line=434): entered
rsync error: error in rsync protocol data stream (code 12) at io.c(434)
_exit_cleanup(code=12, file=io.c, line=434): about to call exit(12)Trying to use public key authentication gives me an "unexpectecdly closed" error. Authentication does work, however, as the server's sshd logs a successfull login.
set RSYNC_RSH=plink -i path\to\key
cmd= machine=example.com user=me path=some/path
cmd=plink.exe -i path/to/key -l me example.com rsync --server -vvvvvnlogDtprz .
opening connection using plink.exe -i "path\\to\\key" -l me example.com rsync --server -vvvvvnlogDtprz . some/path
rsync: connection unexpectedly closed (0 bytes read so far)
_exit_cleanup(code=12, file=io.c, line=189): entered
rsync error: error in rsync protocol data stream (code 12) at io.c(189)
_exit_cleanup(code=12, file=io.c, line=189): about to call exit(12)
rsync: connection unexpectedly closed (0 bytes received so far)
_exit_cleanup(code=12, file=io.c, line=434): entered
rsync error: error in rsync protocol data stream (code 12) at io.c(434)
_exit_cleanup(code=12, file=io.c, line=434): about to call exit(12)Any idea's what's wrong?
Thanks a lot!
-
Post date: Wednesday, October 26, 2005 - 06:43
Installation states that password is stored in details log. What details log? None is installed.
Also, is the a script that actually shows how to link linux to Windows as the one in the FAQ's is missing some info that makes it confusing. The use of keys (insert key in that filed or upload filenamed that key name with the key in it??), passwords, servers, ports for ssh, etc. What about those forward ports? What if you do not use port 22 on remote machine?Far more questions than answers, but I have to assume that the process works otherwise it would not be so well mentioned. I just need a little more hand-holding - especially on the password. I ran a search on the installed directories and nothing shows up that matches the one stated during install and the "details.log' that is mentioned.
I see plenty of ways that rsync can use username and password to log onto servers - but where is the password stored that is talked about in the installation "details.log? I see it under services -but services will never start. Just says starting -so...This was for the server version. I only installed the server version and the SSH2 Server.
-
Post date: Wednesday, October 26, 2005 - 05:06
The log file says:
unable to bind any inbound sockets on port 873The service appears to start and in about five seconds it stops. Any clues? netstat reveals nothing on port 873. I tried port 8730 in case it just did not like a privileged port.
OS: XP-Pro
Regards,
David Koski
david.nospham@kosmosisland.com -
Post date: Tuesday, October 25, 2005 - 22:36
I've used authorized_keys for years now and have never had a problem with it on multiple platforms.
I recently installed copssh on win3k and love it to death except I can't get it the authorized keys to work.I added the same authorize_keys file that i use throughout all the servers and still get prompted for a password. I've chmod 777 to it and all.
I noticed that the sshd_config had the authorized_keys commented out
so i turned on
RSAAuthentication yes
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys -
Post date: Tuesday, October 25, 2005 - 17:46
in the example for the FAQ on connecting without a password, the ssh command uses the -i flag and specifies the location for the private key file. I have had it working in the past where putting that file in the .ssh folder of the client's home path, named id_rsa, has worked. I currently cannot get that to work.
it will work if I specify the identity with -i. how can I get the client to look in the .ssh folder for the identity key? -
Post date: Tuesday, October 25, 2005 - 16:07
I have verified that rsync works with the standard call syntax but am having difficulty getting modules to work. cwRsync seems to hang and timeout with modules. Anybody have any ideas? My configuration file follows:
use chroot = false
strict modes = false
hosts allow = 192.168.0.3
log file = rsyncd.log
pid file = rsyncd.pid# Module definitions
# Remember cygwin naming conventions : c:\work becomes /cygwin/c/work
#path = "/cygdrive/c/Documents and Settings/senior/My Documents"
read only = true
transfer logging = yes -
Post date: Monday, October 24, 2005 - 11:01
Hi,
I am using Rsync on Windows to try and mirror a share onto a Linux box. The rsync is initiated by the Linux box (a NAS device actually), and I have the Rsync server (cwrsync) running as a service.I have set CYGWIN=nontsec in the system environment and started the service. For a test I run the following command:
rsync -av 81.2.105.214::backup /cygdrive/c/temp
I then get the error "rsync: unable to chdir" and it exits.
I have ran this from the Linux box and get the same (though with a different destination obviously).
The rsync.conf is:
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
#path = /cygdrive/d/agent
read only = true
transfer logging = yesIt is definitely making a connection to the service because if it is shut off we get connection refused.
Any ideas?
Thanks.
Andrew. -
Post date: Friday, October 21, 2005 - 08:08
I'm trying to setup rsync + ssh with pk auth for multiple users. I was successfully able to get cwrsync working with the openssh included with the cwrsync installer, however it seems it's not possible to your public key authentication with any user other than SvcwRsync.
-
Post date: Thursday, October 20, 2005 - 23:05
I try to connect ssh from cwRsync suite to sshd server, and all works right except windows (98) first wait for something during about 30 seconds, and only after that ssh connection occurs./ect/host and c:\windows\hosts are OK.
I guess that reason is in some windows settings, may be...
What could I do for get rid of such delay? -
Post date: Wednesday, October 19, 2005 - 03:46
I'm running a Windows 2003 Server and cwRsync V 2.0.4 and with OpenSSH and I'm intermittently getting the following error.
"rsync: failed to connect to localhost: Connection refused (111)
rsync error: error in socket IO (code 10) at clientserver.c(98)"The connection will work approximately 1 in every 4 times. When it works over SSH it works perfectly. I'm just using the "Secure Channel Wizard" to create the batch files to run which I'm scheduling. The client is also a Windows 2003 server and I have no firewall blocking any ports.
-
Post date: Thursday, October 13, 2005 - 19:20
Hello,
I've recently installed COPSSH 1.3.6 on a Windows 2003 server.The installation went well and I was able to activate a user, but
when I attempt to login from another machine I receive 3 password prompts and then a generic failure message.What did I miss?
Thanks,
Tom
-
Post date: Thursday, October 13, 2005 - 18:04
I have installed copssh 1.3.6 on a Windows 2000 Server system and added one user to the passwd file.Trying to start the "Openssh SSHD" service failes.
I get these errors:Windows warning message:
Could not start the Openssh SSHD service on Local Computer
Error 1053: The service did not respond to the start or control requests in a timely fashion.Windows event log:
The description for Event ID ( 0 ) in Source ( copSSHD ) cannot be found.
The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer.
The following information is part of the event: copSSHD : PID 696 : starting service `copSSHD' failed: execv: 1, Operation not permitted.Copssh.log:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0644 for '/etc/ssh_host_rsa_key' are too open.
It is recommended that your private key files are NOT accessible by others.
This private key will be ignored.
bad permissions: ignore key: /etc/ssh_host_rsa_key
Could not load host key: /etc/ssh_host_rsa_key
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0644 for '/etc/ssh_host_dsa_key' are too open.
It is recommended that your private key files are NOT accessible by others.
This private key will be ignored.
bad permissions: ignore key: /etc/ssh_host_dsa_key
Could not load host key: /etc/ssh_host_dsa_key
Disabling protocol version 2. Could not load host key
sshd: no hostkeys available -- exiting.I tried reinstalling and experimenting with NTFS permissions but i can't find the solution.
On other Windows 2000 machines it does work with the same settings.I read something about dependency on the "TCPlp" service but i can't find that service in my windows services list.
-
Post date: Thursday, October 13, 2005 - 08:18
Hi guys, I got a very strange problem. Environment
SSH Server : Win2K server with COPSSH 1.33
SSH Client : open SSH client on HP-UXI have a perl script running on Win2K server. It contains following line to get the timestamp of "now" :
============================
my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time);
============================It works perfectly in DOS prompt, but If I login through SSH from the HP-UX server, in the bash and run the same perl script, the script returns timestamp which is always 9 hours behine the local time. (I am in Sydney GMT+9:00 hours)
I believe this is the timezone setting issue of COPSSH.
However, I have checked the Win2K server, the timezone setting is correct, so I suspect the COPSSH doesn't get the timezone information from the OS, so it just returns the GMT time instead of local time.
Have anyone experienced the same problem ? How to fix ?
Thanks for any feedback.
Cheers
YF -
Post date: Wednesday, October 12, 2005 - 20:54
Hi,
I installed cwrysnc server with openssh. I am able to login with key-based auth by copying the private key (cwrsync) to my linux box and issuing the following:ssh -i cwrsync SvcwRsync@windows2003server
However, instead, I would like to use my already existing public key from my linux box as an authorized_keys file on the windows2003server.
I did this by sftp from windows2003 to linux and getting the file. Then cat linux.pubkey >> authorized_keys
and restarting sshd service. However, this doesn't work.
-
Post date: Monday, October 10, 2005 - 17:24
I recently made a mess when using rsync, and am wondering why. As I needed to backup a Windows machine on a regular basis I just mounted the C$ and D$ partitions on my Linux box, and used rsync to copy.
However, a few days later, the mail server on the Windows machine stopped working, as it had a load of corrupt files. After a day's work I managed to repair it with minimal loss of data, but need to know if it was caused by rsync. -
Post date: Monday, October 10, 2005 - 17:15
How do I read the logs in C:\Program Files\copssh\var\log?
copSSHD.log is emptylastlog is a binary file of several hundred kb.
Thanks.
Pages
Release news
-
2023-03-21
-
2023-03-20
-
2023-03-20
-
2023-03-10
-
2023-03-09
-
2023-03-04
-
2023-03-02
-
2023-02-28
-
2023-03-07