cygwin provides a Unix/Linux-like environment under Microsoft Windows OSes.

learn more… | top users | synonyms

0
votes
1answer
698 views

Run programs on Windows with CYGWIN

I am running Windows 7. I have XAMPP for my Dev server. I also have a PHP command line tool called Phing which is a build script. Using the Windows command prompt I can cd to my directory that has ...
0
votes
1answer
386 views

Copssh, Chrootdirectory and spurious cygwin directory

I have limited sftp users to their home directory using this answer http://serverfault.com/a/201879/65157. It all seems to be working fine. I only have 1 query though. When I ever issue an 'ls' ...
0
votes
1answer
3k views

cygwin sftp limit user's to home directory

Is there any way to limit users to certain home directories with sftp and cygwin: For example user1 cannot get out of /home/user1/ User2 /home/user2/ I don't think there is on windows but maybe ...
1
vote
0answers
632 views

How to fix “SignTool Error: IStore2::Load returned error: 0x80090345”

I have a Jenkins job running the signtool utility on a remote node, the console log looks like so: Started by user anonymous Building remotely on vm-builder [VE] $ cmd /c call "C:\Documents and ...
2
votes
1answer
1k views

Incorrect directory permissions with OpenSSH on Cygwin on Windows Server 2008 SP2

I ran into a weird directory permission problem when logged in to a Win2008SP2 (not R2) server through SSH. When I open a local cygwin shell on the server, i can do this: myUser@myServer ~ $ cd ...
1
vote
2answers
2k views

SSH connection times out

Given: vm - a WinXPsp3 virtual machine hosted by a Win7sp1 physical machine alice is the user on vm srv - a Win2008R2sp1 server bob is the user on srv quake - a linux server mark is the user on ...
3
votes
2answers
1k views

Raw copy with sector precision on windows

Is there some program for windows that is able to do what dd does in linux out of the box? I need to copy from a file to a physical disk in raw mode where I need to define offsets for input and ...
2
votes
2answers
3k views

Why is my ssh connection failing?

I'm trying to use SSH authentication between my WinXP desktop running Cygwin and a Mac laptop, and for the life of me, I can't get it working. My public key is on the macbook in the authorized_keys ...
5
votes
3answers
6k views

Using rsync from msysgit for binary files

I have three windows boxes that are connected to a linux box on my network in various ways (one's local to the network, one is a laptop and may or may not be local, and the other is my work desktop). ...
3
votes
3answers
2k views

CYGWin and sshd. Accepts authentication, but won't connect

Everything I find relating to this is the "ssh-exchange-identification:" error. This doesn't happen for me. I get two lines: Connection to localhost closed by remote host. Connection to localhost ...
-1
votes
2answers
150 views

cygwin's xd. what package is it in? [closed]

I am looking for the unix utility xd for Cygwin. What package do I need to install?
1
vote
2answers
3k views

rsync on Windows - permissions in remote folder not set properly

I am having a slight problem. I use rsync (Cygwin) in Window and the files that are synced in my remote folder is not right. rsync -r /cygdrive/c/xampp/htdocs/mysite/* ...
4
votes
1answer
1k views

Shared Cygwin Install

I'm attempting to set up OpenSSH on a bunch of Windows Server 2003 machines in an automated fashion. My goal is to be able to do so using a single version of Cygwin installed on a network drive ...
3
votes
1answer
562 views

SSH on Windows 7/Cygwin periodically fails to resolve hostname

Whenever I run ssh inside of cygwin on Windows 7 I get the error: ssh: Could not resolve hostname ... Non-recoverable failure in name resolution lost connection If I try the same command ...
21
votes
1answer
361 views

Is there a device file that just blocks?

... something similar to /dev/null, but that just blocks all bytes that are written to it? What I need is a trick to hold an arbitrary executable in memory by blocking its output. Pipes don't seem ...
1
vote
1answer
489 views

Cygwin: Run SSH.exe (without cygwin.bat) with a keypair

I have a box I'm trying to create an SSH tunnel to using a keypair without a password. If I run cygwin.exe and generate a keypair without a password using ssh-keygen and put the public key on the ...
1
vote
0answers
529 views

What could cause this ProFTPD directory listing error?

The error I get in Filezilla is "Cannot get directory listing". In Firefox it just keeps on loading and nothing happens. For both clients the same messages appear in proftpd.log. Computer - error ...
0
votes
2answers
96 views

Are there any incompatibility issues when running cygwin sshd on a windows 2003 domain controller?

I am asking for incompatibility here. Safety was already covered in that question.
1
vote
2answers
574 views

How safe is it to run cygwin sshd on a windows 2003 domain controller

I have already installed cygwin (running sshd) on windows 2003 DC several times. But now another admin who is actually responsible for this domain asked my if this is really safe. Edit:: I changed ...
0
votes
1answer
529 views

Having trouble piping between cygwin and sqlcmd

This simple command fails in bash: echo "print 'tsql'" | sqlcmd -E it works correctly in a regular old command prompt. It used to work with previous versions of cygwin. I've also tried inserting ...
6
votes
5answers
7k views

How to run a PowerShell script from Cygwin SSH session?

Hi I have Windows Server 2003 with CopSSH installed on it ( Cygwin + sshd ). W would like to be able to run a PowerShell script via SSH session command and then use it's output. Is there such ...
0
votes
1answer
2k views

Can't run Cygwin/X as administrator on windows 7

When I run Cygwin/X as administrator, I get periodic errors when I try to run, e.g., xterm. I can get around this by running as not administrator, but I've been getting these errors when running exim ...
0
votes
1answer
860 views

cygwin ssh stops after adding user

I'm trying to set up a backuppc client using ssh+rsync via cygwin on Win 7. SSH was working fine. I added the backuppc user then used mkpasswd to add the user to /etc/passwd. Now ssh fails with: ...
1
vote
1answer
261 views

Odd SSH port disconnect

Currently I have ssh set up using openSSH on cygwin. I port forwarded from my router to the computer, and added an exception for port 22 on my windows firewall. I have free AVG which I believe does ...
0
votes
1answer
775 views

rsync ubuntu to windows under cygwin - way to avoid 'invalid argument 22' error?

I'm doing a backup from a ubuntu server to a windows machine running cygwin. I'm using the following command: rsync -avx --timeout=30 --delete-excluded --exclude '.git' ...
0
votes
1answer
315 views

Disable SSH on cwrsyncserver?

I installed cwrsyncserver, the rsyncd.conf makes no mention of ssh and I am not specifying to use ssh when I connect. Yet, the error I get is connection to port 22 refused. My rsyncd.conf is thus: ...
0
votes
1answer
867 views

Trouble with cwRsync on Windows

I have just setup cwRsyncServer on my 2008 server, it is permitted by the firewall, and I have configured a module with write access. The rsync server is running and listening. I have cnfigured an ...
0
votes
2answers
131 views

Rsync problem…filenames

I'm trying to back up users Chrome Sessions with Rsync with the following command: rsync -e "ssh -i new.key" -r --verbose -tz --stats --progress --delete \ ...
0
votes
1answer
735 views

CVSROOT problem because of username string

I have always been SVN user but currently I have to use CVS as the source repository. I am quite new to CVS and really got confused many a times (reason being I always tried to access CVS like SVN !) ...
0
votes
3answers
2k views

Autostart Cygwin on Windows boot and run a cygwin command

Sometimes my Windows server reboots at night to install new updates. Then the next day I find out that my cygwin instance has been stopped. What I want is on Windows start, also run Cygwin AND run a ...
0
votes
4answers
473 views

which is the recommended way to install sshd in cygwin on windows 7 enterprise

What is the recommended procedure to install sshd on Windows 7 Enterprise ? I have already installed cygwin and openssh on this computer. i'm open to non-cygwin sshd as long as there won't be any ...
1
vote
2answers
794 views

Netcat says 'operation not permitted'

I thought I could easily copy a tgz from a linux box to a windows box (cygwin) by doing this on the linux box: nc -vv -l 4444 < file.tgz And this on the windows box: nc -vv 10.13.13.2 4444 > ...
0
votes
1answer
958 views

Cygwin sshd service starts but only produces errors

I know this has been asked before, but I looked at the other questions and they didn't help, so here goes... I installed cygwin (only OpenSSH and whatever else it automatically chose for it). I ran ...
-1
votes
1answer
73 views

Cygwin find integration

I would like to find all NON read-only files in my directory using cygwin's find command. Is it possible ?
0
votes
2answers
3k views

Can't connect to windows via ssh

I downloaded cygwin and ran ssh-host-config. I'm trying to connect using ssh -l micah myserver it then says micah@myserver's password: I enter the same password I use to log into windows and it ...
0
votes
1answer
360 views

Cygwin Scp or Rsync permissions

Why is it that whenever I Scp or Rsync files from my Windows machine using cygwin to my Ubuntu server. The copied files will all have no permissions. Rsync doesn't even work because it cannot copy ...
1
vote
1answer
338 views

How do I arrange for an ssh key with a passphrase to be loaded and available in ssh-agent to other processes on Windows startup?

I'm setting up automated deployment of applications in a Windows environment from continuous integration (TeamCity build-agents), and using cygwin + openssh to perform the remote-execution part of ...
0
votes
1answer
372 views

rsync doesn't use delta transfer on first run

I'm trying to synchronize a large local directory (with a batch file using rsync 3.0.7 on Cygwin, Windows 7 x64, 30k files, 200gb size) to a remote server (Debian x64 with kernel 2.6, rsyncd 3.0.7) ...
1
vote
1answer
1k views

Improper output in SSH session on OSX using FreeSSHd on Windows with cygwin bash/sh shell

I am testing out running an SSH server on a local Windows VM. I have installed FreeSSHd and set the command shell to "c:\cygwin\bin\sh --login -i" (bash as well) with "Use new console engine" ...
2
votes
3answers
2k views

ssh_exchange_identification: Connection closed by remote host [duplicate]

Possible Duplicate: ssh_exchange_identification: Connection closed by remote host I see this is a common error but I have read through many questions and answers and nothing of it seems to ...
4
votes
3answers
2k views

Get exact size in bytes of a disk & partitions in windows

I'm using dd (under cygwin) to copy a shadow image of a disk in windows. Shadow copy will only give me a partion, so what I am doing is: 1) using dd to grab the disk header (32k on Win2003) 2) using ...
1
vote
2answers
890 views

nfs server on cygwin slow

The setup: We run an instance of cygwin nfsd on a Windows 2008 Server (Xeon 3,2 GHz). There are several Sun Solaris and SunOS machines accessing the shares. This is the exports file: /disk3 ...
0
votes
2answers
506 views

remotely running find -exec options

I'm trying to setup a bash process for deploying my django project onto a linux server. Through cygwin, I'm running a script that is calling scp to copy my files over. Is there a similar command to ...
1
vote
4answers
519 views

Why dd finishes instantly when pipelining to cat?

I start bash on Cygwin and type: dd if=/dev/zero | cat /dev/null It finishes instantly. When I type: dd if=/dev/zero > /dev/null it runs as expected and I can issue killall -USR1 dd to see ...
1
vote
2answers
347 views

cd in bash script

I work in a windows environment but prefer to use bash in cygwin as my shell. To cd to a lengthy path I am given in windows form I type: cd $(cygpath -u 'Z:\Some\long\windows\path') ..pasting the ...
1
vote
1answer
2k views

Access NFS share from cygwin?

We have a Windows 2003 Server on which we have installed Microsoft's Services for UNIX, and we have mounted a few NFS shares that contain shared resources that we need to access from this box. When I ...
0
votes
2answers
1k views

cygwin, PATH problem?

I run a .ksh containing a awk call. awk.exe and his shortcut awk is in /bin/awk, /bin is in the PATH environment variable. But when I try to launch awk, I have this error message : bash: ...
0
votes
1answer
2k views

ksh not find by bash in my cygwin installation but present in the folder bin/ksh with a lnk extension

I have installed cygwin on my windows XP desktop on C:. It works fine except when I launch a .ksh. I had this error message : bash: ./xxx.ksh: /bin/ksh : Bad interpreter:No such file or directory I ...
3
votes
2answers
2k views

Cgywin - issue setting /var permissions for ssh

I am having trouble to install ssh via Cygwin on my latest new Windows machine with the latest Cygwin version. *** Warning: The permissions on the directory /var are not correct. *** Warning: They ...
2
votes
2answers
2k views

How to run a cygwin executable with Windows XP TaskScheduler without opening a terminal?

Using Windows XP Task Scheduler, I've scheduled the execution of a cygwin program (C:\cygwin\bin\svn.exe update). It is working fine, but when it executes, a terminal window titled svchost.exe opens. ...