I'm setting up SFTP so an outside company can transmitt to our server... I have the copSSH loaded on to the web server and i set up a local account login for that company, but can a local account logon onto the webserver from the out side since they are not a domain user... I don't want to add them to the domain... i'm running 1.3.6
dotnetme
Advanced Forum Search
-
Post date: Tuesday, January 31, 2006 - 23:44
-
Post date: Tuesday, January 31, 2006 - 15:11
I have a sFTP script which I run in batch on a Windows 2003 server.The script sends a file to another Windows server.
In my sFTP script, I have an RM command to delete the file on the server I am sending to before I send the new file.
If the file does not exist, the script is exiting without completing the other steps.
How do I get the script to continue executing?Terry
-
Post date: Tuesday, January 31, 2006 - 14:38
This was also posted to the Rsync list @ samba.org:
Hi all!We're using cwrsync server 2.0.4 on winxp to keep files up to date between
some operator machines.Whenever I run rsync to send files to another machine, the read-only flag
gets set. The cwrsync user was created (the install is completely
standard)... so I'm thinking it might have something to do with that.Here's my rsyncd.conf:
use chroot = false
strict modes = false
hosts allow = *
log file = rsyncd.log
pid file = rsyncd.pidpath=/cv7/windows
read only=false
comment=some stuffWhen I run the following command from my laptop:
rsync -vzrLpogtu /cv7/windows/ user@ui7::crystal_windowsIt sets *ALL* the files in the /cv7/windows folder on the remote machine
to read-only.This is a big problem because it means that when an operator goes to edit a
file in the windows folder with a program, he has to first make the file not
read only.Is it possible to change the cwrsync configuration so that it runs as the
same user that the operator logs in as? I'm thinking that for some reason
windows is getting confused and setting the ownership to the cwrsync user
and that's why the operator user sees the file as read-only. Because the
operator is an administrator, the read-only can be turned off, but every
time rsync touches the folder it seems to reset all the permissions
settings.I tried the following as suggested by Tevfik Karaguile:
Xcacls c:\cv7 /T /E /G Administrators:F
This chugged and chugged and processed all the files in the tree. I then right-clicked c:\cv7 and made sure that the folder and all subfiles/folders were marked *NOT* read-only.
I then issued the command again from my laptop:
rsync -vzrLpogtu /cv7/windows/ user@ui7::crystal_windows
Going back to UI7 computer and checking the file permissions in c:\cv7\windows -- they're all set to read-only again!
Help??
-
Post date: Saturday, January 28, 2006 - 08:06
I accidentally deleted the sshd user when I was mucking around with some stuff, and so obviously the sshd service doesn't run any more. I have dial-up and I foolishly deleted the installer so reinstallation isn't an option; that's two lessons learnt today ;-)
So does anyone know the command that the installer uses to create the sshd user? -
Post date: Friday, January 27, 2006 - 02:45
Hello,
-
Post date: Thursday, January 26, 2006 - 17:17
Hello,
How do I tunnel RealVNC over SSH?client: PuTTY, RealVNC viewer
server: copSSH, RealVNC serverThanks in advance....
-g.
-
Post date: Thursday, January 26, 2006 - 10:04
I am running copSSH on a 2003 server. It install and worked perfectly however I have a security problem. As it installs SVCcopssh as a local account it clashes with the global security policy which requires it to be a domain account to run a service. Is there anyway to change the account which runs the service ?
-
Post date: Wednesday, January 25, 2006 - 21:44
I have cvsnt installed on my windows 2k3 box, but when I SSH in I can not execute any of the native cvs commands altho I can from a standard windows command prompt. Any suggestions?
-
Post date: Monday, January 23, 2006 - 17:03
I've tried to change the default port # of COPSSH (openssh) and cant seem to get it to work in anything but port 22. For example I tried 9922. I made sure the fw on my router and Norton AV were open on that port. I changed the port # for my connection in PuTTY as well. All connections time out. Same with with WinSCP3. I changed the port #, tried to connect, and it times out. If I change everything back to port 22 everything works fine. What am I overlooking?
Windows FW is disabled.I restarted the OpenSSHD service each time I changed the sshd_config file.
TIA
-
Post date: Sunday, January 22, 2006 - 20:53
Does 2.0.5 allow backup and restoration of the SSH host key? The reason I ask is, under 2.0.4, after installing various Microsoft security patches, the Rsync service and SSHD services would fail to start because of login permissions. The only fix was to reinstall cwRsync, and update each client with the new host key.
Maybe a better question is, will cwRsync still break when new Microsoft patches are installed?Thanks,
Jeff -
Post date: Friday, January 20, 2006 - 15:13
I have read the FAQ on this.
1. Make a local group with copssh users as members.When you say make a local group how is this accomplished? Through Windows groups or through the bash shell? I did create a new windows group after installing this software, but looking at groups in the bash shell doesn't show the new one. How would I create a local group in the bash shell?
2. Deny access to this group at top level.
What top level .. the windows c: directory or from within the bash shell? I'm not clear on how or where to do this at.
-
Post date: Friday, January 20, 2006 - 13:26
Hello,I use cwrsync to tranfert data from Sun server to Windows 2003 server.
I some problem with the permissions on Windows 2003 server.
I set the permissions correctly for directory and files (read accces for everyone)on Windows 2003 server, if i modifie a file in sun server, the file is trasnfert during the replication as the normal process but on the server Windows 2003 the permission are modified and everyone don't have read acces anymore. -
Post date: Friday, January 20, 2006 - 11:51
Hello,
I've installed cwRSyncServer 2.0.4 ON A WINDOWS 2k server. No previous cygwin install on this machine. No ssh, my network can be considered as safe.
#rsync --version
#rsync version 2.6.6 protocol version 29I'm backing up from a Debian Sarge :
#rsync --version
#rsync version 2.6.4 protocol version 29Anyway, all worked fine since I reboot the windows server. The service is configured to start automaticly and it starts, but my croned rsync sends me :
Erreur lors de l'éxécution de /usr/bin/rsync -a --delete --filter='+ /HSF/' --filter='+ /HSF/**' --filter='- *' '--link-dest=/opt/saves/data/20060119' rsync://10.110.103.1/save/ /opt/saves/data/20060120
Return value : 12
STDERR :
rsync: read error: Connection reset by peer (104)
rsync error: error in rsync protocol data stream (code 12) at io.c(570)
STDOUT :And the logs on the windows server :
rsyncd.log :
------------
2006/01/20 02:55:12 rsync error: received SIGUSR1 or SIGINT (code 20) at rsync.c(163)
2006/01/20 02:57:49 rsyncd version 2.6.6 starting, listening on port 873
2006/01/20 03:11:38 rsync: could not create child server process: No child processes (10)rsyncd-stderr.log:
------------------
C:\Program Files\cwRsyncServer\bin\rsync.exe (7816): *** couldn't allocate cygwin heap, Win32 error 487, base 0x460000, top 0x464000, reserve_size 16384, allocsize 16384, page_const 4096
1162454093 rsync 1152 fork_parent: child 7816 died waiting for longjmp before initializationThe port 873 is open and responding on the server, but it closes the connexion immediately after I connect with telnet (just for a try), issuing this to lines in the error log.
If I restart the service all works fine. A telnet on port 873 sends me :
@RSYNCD: 29@ERROR: protocol startup error
Connection closed by foreign host.And the rsync command goes OK.
In fact the problem apears after each reboot. Any suggetion ?
Thanks,
--
Matthieu -
Post date: Thursday, January 19, 2006 - 10:21
I installed copSSH on a Windows XP Home Edition and activated a local user, butwhen i attempt to login I receive 'Access denied'. I suspect that copSSH doesn't work on Windows Home Edition. Can someone confirm that ?
Thanks.
-
Post date: Wednesday, January 18, 2006 - 15:40
I am running copSSH on Windows 2003 SP1. I downloaded the latest version of copSSH 1.3.7 today. I activated one user without a problem. When I activated the second user it did not create the myhome directory. When I go to either users home directory (/home/user1 or /home/user2)and try to create a link to another directory it says permission denied. If I go to /home/user1/myhome and try to create the link it works fine. There is no /home/user2/myhome directory to try to create the link in for user2.
-
Post date: Tuesday, January 17, 2006 - 07:42
Hi,
I have installed cwrsync client on my local machine and cwrsyncserver on the server machine. I need sync packets from one of our onsite team to offshore.
When i run rsync -rav / :: >c:/rsync.log i get the following error
@ERROR: Unknown module 'cwrsync'
rsync error: error starting client-server protocol (code 5) at main.c(1171) -
Post date: Tuesday, January 17, 2006 - 03:09
I have about 20 PCs spread about London using CWRsync on a variety of Windows systems to backup every night to a single, fully updated, Fedora Core 3 system with 2.4Ghz CPU, 1Gb RAM, 4x300Mb Disks, hosted professionally in Telehouse, i.e. on the Internet backbone. They have been running for about a year. They use a variety of ADSL lines and Leased Lines.
Some sites work 100%. Others are flaky. There is no common denominator that I can find.I have spent a huge number of hours trying to work out where/what the problem is and/or how to get around it, without success.
I have tried many options but the main ones are:
with/without: SSH (using -e)
SSH (using channel wrappers)
compression
blocking-io
partials
inplace
blocksize
small and large timeouts
bandwidth limits
local/networked files
protocol=28
older versions of cwrsync
older versions of Linux Rsync
Tuning TCP/IP
increasing process priority (both ends)
and all relevent combinations of the above, all to no avail.All other links to the server work fine - FTP, HTTP, SSH.
Rsync will fail with just a single instance running, so it is unlikely to be a resource issue.
The only thing I have really worked out is that it will usually trip over when transferring a large (35Gb) highly compressed file, but it can happen any time, or not! (BTW, continually restarting rsync until it succeeds is NOT the answer for some sites.)
I'm using Rsync in the form:
rsync -azv '/cygdrive/C/Temp/.' test@195.001.001.001::test/STORE/TEST/.
TYPICAL ERROR MESSAGES ARE:
io timeout after 6374 seconds -- exiting
rsync error: timeout in data send/receive (code 30) at io.c(183)rsync: writefd_unbuffered failed to write 239 bytes: phase
rsync: read error: Connection reset by peer (104)
rsync error: error in rsync protocol data stream (code 12) at io.c(584)
[THE NUMBER OF BYTES VARIES, BUT CODES ARE THE SAME)rsync: read error: Connection reset by peer (104)
rsync error: error in rsync protocol data stream (code 12) at io.c(584)I have spent hours trawling the Web for solutions. This has cropped up in Forums many, many times, but no obvious solution is ever forthcoming. I suspect the thread posters just give up and 'go away', much like I'm about to do ...
I personally reckon there must be a fundamental bug in the rsync protocol, or in relation to CygWin, that only shows up on WANs.
My client wishes to expand his number of sites further, but I cannot make it reliable for him.
Unless somebody can come up with a solution I'm going to have to chuck it in.Any suggestions or solutions will be very gratefully received!
Thanks -
Post date: Monday, January 16, 2006 - 18:22
I have installed the latest version of copSSH on Win2003 Server Standard SP1 without any problem. I could to connect with and without private key authentication. Everything is fine.
The problem starting when I installed to a Win2003 Server Standard SP1 Hungarian version. Everything similar to the previous installation, but the private key authentication is not working. When i tiped the username, i get the following message: "Network error: Software caused connection abort"
If i not use the private key, will prompted for password.Sorry for my English :)
-
Post date: Monday, January 16, 2006 - 05:39
Could you please tell me how to download files from Unix using cwRsync. I what my Windows XP machine use windows services to logon daily to the Unix box and download(sync) all files from this Unix box folder to local XP folder. It should be done through ssh. I have tried several variations of the commands but it seems, I can not make it work.
Thank you in advance -
Post date: Sunday, January 15, 2006 - 14:11
Hi
I'm trying 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 'Access denied' after type the password, i have already change the user rights to "Allow log on locally", as explained before to Tom Lombardi, and i have run "gpupdate /force".Can you help me?
Thanks.
-
Post date: Friday, January 13, 2006 - 12:10
I'm trying to synchronize some 30'000 files from a linux box (server) to a XP-client (running cwrsync as a client). Works excellent for smaller directories, but hangs with the message
buffer overfolw in recursive_file_entry
error allocating core memory buffers (code 22) at util.c(126)when I try to synchronize a big directory.
The directory contains some long filenames ans long pathes as well - but if I synchronize the same directory in two steps it works flawlessly. -
Post date: Friday, January 13, 2006 - 02:19
Hi,
This all looks great but I've installed the "client", the server, started the service and tried to first of all verify that something happens. I did a cd to the bin directory under c:\cwrsync and tried running a basic command:rsync -t * c:\backup
I get the errors:
ssh: c: no address associated with name
rsync: read error: Connection reset by peer (104)
rsync error: error in rsync protocol data stream (code 12) at io.c(584) -
Post date: Thursday, January 12, 2006 - 19:41
I am having a hard time getting this to work the cmd string is
C:\cwRsync\bin\rsync.exe -azWe "c:\cwrsync\bin\ssh -i C:\cwRsync\bin\id_dsa" --log-format="%%t,%%f.%%l,%%o" --files-from="FILEs.txt"and the files.txt file is
/cygdrive/c/carma2
/cygdrive/c/ati
/cygdrive/c/testThis is from a windows xp machine to a Linux server
What am I doing wrong?
-
Post date: Thursday, January 12, 2006 - 00:59
Hi, I've used cygwin with rsync but this look like a great alternative for machines that i only want rsync on (and only the parts of cygwin necessary to run it), but when i install the client on a win98SE machine, i still can't see or reference the "/cygdrive" alias... When is this created, or how do i make it work? obviously anything with a ":" in it won't work for local filesystem transfers (or those mounted via smb).
thanks for packaging a tool for such a big job into such a small package!!!Chon
-
Post date: Wednesday, January 11, 2006 - 21:07
How can I achive two-way sync for two windows machines, and also I can I have same file modify on both systems then what?
Thank you
NikolayP.S. Sorry for the n00b question but I am looking for the solution for the company and I just came across rsync that I have seen on Linux
Pages
Release news
- 2023-05-23 Copssh server 7.13.2
- 2023-05-23 Copssh server 8.1.2
- 2023-03-29 Rsync Client Helper GUI 1.0.3.7
- 2023-03-29 Nagwin 5.1.2
- 2023-03-29 cwRsync server 6.7.2