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

learn more… | top users | synonyms

4
votes
1answer
1k views

Socat to share a serial link between multiple processes

I have a scenario where multiple processes on the same box want to communicate with a serial device. Process A needs two-way communications with the serial port, and Process B only needs to be able ...
2
votes
1answer
120 views

cygwin sshd service crashes whenever I open certain file in /etc

When I try to vim /etc/profile or vim /etc/motd it stops. When I try to touch those files it stops. Any ideas? Nothing in the ssh logs that seems to be pertinent.
1
vote
1answer
291 views

Cygwin: how do I disable /cygdrive

I'm using a cygwin based SSHD server and I want to disable the /cygdrive/c and /cygdrive/d paths; is this possible? Using NTFS ACLs to achieve this will be a mess because the user will need access to ...
0
votes
2answers
2k views

How to configure ssh key based authentication in openssh running on cygwin?

I was able to install and configure openssh on cygwin and is running just right but with one problem: I cannot use private/public key authentication, it just doesnt work. I followed the same steps as ...
1
vote
1answer
284 views

Non-interactive SSH connection fails - error: can't open /dev/tty: No such device or address; Host key verification failed

Below you can see the log. The connection is from a Cygwin SSH client to a Cygwin SSHD server. The connection works ok when launched from the command line but fails when launched from Jenkins (Java ...
1
vote
1answer
2k views

ssh localhost exits with “debug1: Exit status -1 ”

I am trying to setup ssh and ssh to localhost on Cygwin, but I am getting the following error. Any suggestions will be appreciated: $ ssh -v localhost OpenSSH_6.0p1, OpenSSL 1.0.1c 10 May 2012 ...
2
votes
1answer
406 views

Problems with C^b C^[arrow key] in tmux through a ssh session from a mintty terminal

I have a server that I ssh to from Windows 7 using Cygwin+mintty. On the server I attach to a tmux session. So far so good, but when I try to change the tmux layout using C^b [arrow] and C^b M^[arrow] ...
0
votes
1answer
93 views

Linux sshd suddenly began prompting for “Windows Authentication” from Cygwin ssh

I returned from vacation to find a "helpful" intern had installed some Mandriva 2011.0 updates on a linux server, and he had updated Cygwin to 1.7.16 on a Windows XP machine. Prior to the updates, I ...
1
vote
1answer
1k views

cygwin help: Xlib: connection to “ip:0.0” refused by server

I followed cygwin user guide as below: http://x.cygwin.com/docs/ug/using-remote-apps.html on windows xp, i started Cygwin/X->XWin server, EXPORT DISPLAY=:0.0 ssh -Y user@ip i saw below warning ...
5
votes
1answer
6k views

How do I fix certificate errors when running wget on an HTTPS URL in Cygwin Windows?

I have Cygwin installed in my windows system I am trying to execute wget commad for a website but I am gettign the following error message ERROR: The certificate of xxx.com' is not trusted. ERROR: ...
1
vote
1answer
89 views

Cygwin shell is overriding my Windows shell

I'm not sure what I did, but I've somehow got Cygwin installed in such a way that even when I try to run an ordinary windows shell, Cygwin is interfering. I have batch scripts that I want to run in ...
1
vote
1answer
120 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
476 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
155 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
249 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
125 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
385 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 ...
1
vote
1answer
249 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
916 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
304 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
2k 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
415 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
718 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
289 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 ...
1
vote
0answers
132 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
466 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
588 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
330 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
504 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 ...
1
vote
1answer
1k 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 ...
4
votes
1answer
1k 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
9answers
8k 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
64 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
363 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
465 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
618 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
325 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
474 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
879 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
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 ...
3
votes
2answers
900 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
4k 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
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
124 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
2k 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 ...