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

learn more… | top users | synonyms

0
votes
1answer
622 views

Cygwin X crashing on -multiwindow option

A shot in the dark, but can anyone point me in the right direction? Thought this might be similar to this bug ...
1
vote
4answers
288 views

Why “jobs -p | kill -n 15” doesn't work?

I'm very new to Linux. And as a matter of fact I use Cygwin now and not Linux itself. I'm trying to install RVM (Ruby Version Manager). I was doing rm -r ./.rvm -i command. I wanted to remove .rvm ...
-1
votes
2answers
138 views

cygwin bash getting last modified userid of a specific file

I am trying to get the username of the person who modified a specific file: stat -c "%u" somefilename.name this script returns a number like 544 what does that mean? i was hoping to get the ...
2
votes
3answers
761 views

cygwin ssh works locally, not remotely

I have Cygwin with SSH server installed (Windows 7). After setting up I can login locally using "ssh localhost -l [myUsername]". I input my password. Success. However, trying to SSH to the machine ...
0
votes
0answers
2k views

ssh with cygwin for amazon ec2 gives permission denied (publickey)

I looked at all other posts that are similar. I'm probably missing something simple since I'm relatively new to this. I have an Amazon-EC2 instance with Amazon Linux. I'm using Cygwin on Windows 7. ...
0
votes
1answer
566 views

Cygwin does not see Windows share as folder - no “d” attribute?

I migrated this question from StackOverflow as it really fell outside the scope of programming questions they generally prefer, so hopefully I'll find a more suitable audience here... I've installed ...
1
vote
2answers
415 views

using strings (the command) to only find english words

My problem in a nutshell is that I want the list of english words that are output when I run 'strings' on a binary file. Currently the file I run it on dumps a lot of trash to the screen, and I'm ...
3
votes
2answers
138 views

`sh` access denied over ssh connection

I have an ubuntu server and a windows XP client running Cygwin. The server ssh's into the client and tries to execute a shell script with some params, with the following command: ssh user@IP_ADDR 'sh ...
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
127 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
343 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
671 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
3k 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 ...
3
votes
1answer
493 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
99 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 ...
6
votes
1answer
8k 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
105 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
165 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
604 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
160 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 ...
3
votes
1answer
338 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
136 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
482 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
286 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
1k 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
329 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
52 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
513 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
790 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
322 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
135 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
46 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
498 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
708 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
411 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
691 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 ...
3
votes
1answer
2k 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 ...
5
votes
10answers
9k 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
68 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
488 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
502 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
681 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
378 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
616 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 ...