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

learn more… | top users | synonyms

0
votes
0answers
382 views

SSH on Cygwin from other computer in same network

After following http://pigtail.net/LRP/printsrv/cygwin-sshd.html , I can't connect from other machines. This is sshd.conf: # $OpenBSD: sshd_config,v 1.84 2011/05/23 03:30:07 djm Exp $ # This is ...
1
vote
1answer
85 views

Cygwin creates files with special (shared) icons on windows

I use cygwin to transfer files between linux and windows machines. Everytime I transfer a file to a windows machine it adds an extra shared user icon on the file's or folder's icon itself. This also ...
1
vote
1answer
383 views

Folder default ACLs not inherited when new file is created

I'm a bit of a beginner with Unix systems, but I'm running Cygwin on my Windows Server, and I am trying to figure out something related to extended ACLs. I have a directory to which I set the ...
0
votes
2answers
140 views

Need help in configuring ssh in cygwin

I have this config in ~/.ssh/config: Host *.myhost.com User awwuser IdentityFile my-keys/myhost/id_dsa The thing is, I have 2 different private keys for different hosts also I have 2 different ...
2
votes
1answer
222 views

Cannot open files modified with Cygwin on Windows, clue in ls -l output

I can no longer open the tabs.html and tabs.js files indicated in the output below (2nd and 3rd out of four). Using cygwin I applied a patch to them. I believe the clue is in the ls -l output. ...
1
vote
0answers
116 views

Permissions for Windows XP and ssh

I have Windows XP with browsershots installed on it, which is used to generate automatic screenshots from different webpages. Additionally I've installed there cygwin with sshd and enabled option ...
2
votes
0answers
284 views

cygwin's ps -W doesn't show all processes when running through an ssh session

I hope this is the right place to ask this question: I have two machines (Win7) running cygwin. Machine A connects to Machine B through an ssh session. When I run ps -W in the ssh terminal on A, the ...
0
votes
0answers
283 views

Hadoop TaskRunner throwing Java Child Error

I'm trying to run the Hadoop grep example in a pseudo-distributed configuration using Hadoop 0.22.0 on Windows 7 with Cygwin. The example works fine in standalone mode, but when run in ...
1
vote
1answer
212 views

Fabric and cygwin don't work with windows UNC paths

I have some strange problems with fabric deployment to Windows Server 2008r2. The thing I try to accomplish is to copy some files to a shared folder with a fabric script (this script does a lot of ...
0
votes
1answer
640 views

ssh-add under cygwin

I'm having trouble with ssh-agent under cygwin. The crazy part is that it was working, but stopped after a reboot one day. Here is an example: sthomas@sthomas-tcg ~ $ keychain ~/.ssh/id_rsa ...
1
vote
2answers
281 views

Dropped Connection when trying to SSH from Cygwin to Ubuntu Server

From a Windows Vista client using Cygwin, I am not be able to ssh to a Ubuntu server. I have two other clients (one Vista and one Windows 7) which can SSH to the server. All three are using Cygwin. ...
4
votes
1answer
48 views

Cygwin key-based auth

I have a server running Windows 2003 that is using Cygwin's SSHD. Where do I save my public key to in order to allow key-based auth? The Linux equivalent is ~/.ssh/authorized_keys.
3
votes
2answers
1k views

cygwin sshd fails to allocate pty for some users

I have (finally) got sshd working under cygwin on Win7 - well, sort of. The sshd runs as user 'cyg_server'. I'm able to successfully ssh to my computer using that same user name. However, if I ...
2
votes
1answer
300 views

strftime returning time for wrong timezone

I'm trying to get "dts" to echo the current local time in vim (cygwin under Windows 7) byt the output is GMT+1 instead of the localtime (GMT-7). My abbreviation works fine on other machines, but I ...
0
votes
1answer
645 views

Empty homedir name when SSHing to localhost

I am trying to start a system (Hadoop, but that should not matter much for this question), and need to be able to ssh to localhost. I do this on windows with cygwin. The cygwin SSHD service is ...
1
vote
0answers
256 views

Cygwin and /etc/fstab.d/$USER

I'm unable to see mounts defined in /etc/fstab.d/$USER without running a mount --all command. I'd like to see them whenever I open the bash shell. Here's what I'm doing: echo ...
0
votes
0answers
1k views

SSH to Cygwin: “server refused to allocate pty”

I'm having trouble connecting to a Cygwin 1.7.11 instance. I get the error "server refused to allocate pty" when logging in via SSH. As way of background, I'm in the process of migrating a working ...
1
vote
0answers
113 views

Is it possible to install OpenSSH's sshd on Windows Server 2003 as a domain user with admin rights?

Is it possible to install OpenSSH's sshd (via Cygwin) on a Windows Server 2003 (which is part of an Active Directory site) as a domain user. I have administrator rights as this domain user and ...
0
votes
1answer
44 views

Move a file to amazon via cygwin

I'm trying to push a file from my local windows machine to an amazon server into the folder /var/www rsync -e 'ssh -i /cygdrive/d/myaws.pem' /cygdrive/d/web/my_site.jpa ubuntu@176.69.69.9/var/www ...
4
votes
1answer
445 views

Cygwin's RSYNC for large data transfer

I'm using rsync from Cygwin to do a large scale data transfer from an aging HP MSA 1000 to a new DAS attached to a different server. I have a daemon running on the remote server in read only mode and ...
0
votes
1answer
490 views

using logrotate on win7 with cygwin

I am using the famous logrotate with windows 7 and cygwin, I have the latest cygwin dll but somehow the app doesn't work for me, and the config file seems to be ok. Has anyone encountered this before? ...
1
vote
1answer
277 views

Getting: “rsync: could not open password file” in cygwin

Running in cygwin rsync -vrtz --password-file=c:\cygwin\secret --delete /cygdrive/d/Data user@xx.xx.xx.xx::modulename But getting rsync: could not open password file c:cygwinsecret: No such file ...
1
vote
1answer
411 views

Rync connection problems from Windows to CentOS

Trying to connect to rsync on CentOS from Cygwin on Windows 7 but getting the following errors: $ rsync -vrtz -vvv --password-file=c:\cygwin\secret --delete /cygdrive/d/Data ...
0
votes
1answer
913 views

Copying Cygwin installation from one computer to another?

I have a computer that has a Cygwin installation that has been customized over the years by installing additional packages as needed using Cygwin's setup program. I'd like to duplicate this ...
2
votes
1answer
749 views

How do I set up a private mirror server for Cygwin?

I want to download all of the cygwin files for a computer that is not connected to the Internet. I know I can download all of the cygwin files with rsync, but I'm not quite sure of the right ...
4
votes
7answers
6k views

How to get rid of QueryServiceStatus: Win32 error 1062 when you try to start sshd on Cygwin?

I installed Cygwin and sshd on Windows 7 but I'm not able to make it work. I followed the guide from http://www.noah.org/ssh/cygwin-sshd.html but I still get: $ cygrunsrv -S sshd cygrunsrv: Error ...
0
votes
2answers
60 views

Installing on CYGWIN

This a cygwin newbe question. On sites that have iunstuctions to install things, for example PHP has a page with Instructions ... Installation on Unix systems Installation on Mac OS X Installation ...
0
votes
1answer
278 views

How to call this function with CYGWIN

On Windows with Cygwin in the .bashrc file there is a function that you can uncomment. I did so but I cannot figure out how to make it work or call it. I tried doin the cd -- in the command line ...
0
votes
1answer
409 views

Why can't a certain environment-variable be added to my bash profile?

I am having an issue with running a PHP project called Phing with Cygwin. It's not a huge problem because I can make it work but I am looking for a reason or a fix so I can do it differently. In ...
0
votes
1answer
503 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
268 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
2k 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
386 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
698 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 ...
0
votes
0answers
246 views

psql on putty shows no output

I am using Windows Vista with Cygwin running on a PUTTY console. When I issue the command "psql -l -U grants -W", there is no output (i.e. no prompt for the password even): But echo works ok.. Fri ...
1
vote
2answers
1k 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 ...
2
votes
1answer
737 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
2k 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 ...
4
votes
3answers
3k views

Using rsync from msysgit

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). ...
2
votes
3answers
1k 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
117 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
1k 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
791 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 ...
2
votes
0answers
434 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
341 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
378 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
465 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
82 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
384 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
369 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 ...