Questions tagged [cygwin]

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

What it doesn't provide is "a way to run native Linux apps on Windows. You must rebuild your application from source if you want it to run on Windows."

Cygwin home page
Cygwin on Wikipedia

249 questions
5
votes
2 answers

Cygwin rsyncd sends too many file names

I have rsyncd running as a Windows service, but when I try to access a module and sync from it, I get the files I want, as well as a lot that I do not — because they are not located in that module on the remote end. To test, I put just one single…
courtlandj
  • 171
  • 6
5
votes
1 answer

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 installation on a second computer, with the same set of…
Brooks Moses
  • 171
  • 1
  • 6
5
votes
3 answers

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 closed. ssh -v localhost spits out: OpenSSH_5.8p1,…
timramich
  • 81
  • 1
  • 3
5
votes
1 answer

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 instead of manually installing it on each machine. I…
dpetters
  • 53
  • 4
4
votes
0 answers

Denied permission of a symbolic link to a shared folder

I use Microsoft Remote Desktop to connect my Mac to Microsoft Azure VM. I follow this thread (apple.stackexchange.com/a/140506/20747) to share a Mac folder named Music with the VM. It works fine, here is the result of net use. In the VM, I need to…
4
votes
2 answers

cygwin grep running 680 times faster via ssh than via remote desktop

Running grep by opening Cygwin terminal via Microsoft Remote Desktop to Windows Server 1012 R2(same as natively?): Administrator@MYSERV /cygdrive/d/bin/beta $ time grep -inowf matchfile_431184247462809.temp infile_431184247462809.temp > delme real …
Muposat
  • 121
  • 9
4
votes
2 answers

Can't see certain files under system32 via cygwin shell

I'm using copSSH sshd on Windows Server 2003 to log in to a cygwin environment and boot abandoned Terminal Services sessions. The server is a virtual machine hosted by my ISP, and the 'mstsc /console' trick doesn't seem to work. There are 2 commands…
user21034
  • 171
  • 6
4
votes
1 answer

Cygwin hangs/freezes when installing: won't finish downloading packages

Just stays there. Restarting causes the same problem, and changing mirrors doesn't seem to help.
Andy Chase
  • 161
  • 1
  • 5
4
votes
1 answer

OpenSSH server accepts public key then immediately closes the connection without any error message

I am trying to connect to an SSH server I was able to connect to in the past but using different OpenSSH client versions. Starting from a Cygwin OpenSSH_6.6.1, OpenSSL 1.0.1g 7 Apr 2014 client, going through a Squid Proxy using corkscrew, I am…
Jean Vincent
  • 271
  • 3
  • 6
4
votes
3 answers

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 remotely from a different machine connects, but…
JasonGenX
  • 522
  • 1
  • 5
  • 16
4
votes
1 answer

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] I get problems. Some times it works, as in the…
SpaceOgre
  • 41
  • 3
4
votes
1 answer

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. Specifically, unlike the other files, at the end of…
Dexygen
  • 307
  • 1
  • 3
  • 8
4
votes
2 answers

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 KeyChain 2.6.8;…
samspot
  • 327
  • 1
  • 3
  • 7
4
votes
1 answer

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.
nocto
  • 41
  • 1
4
votes
1 answer

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 a local copy writing the files to disk. One of…
Tim Brigham
  • 15,545
  • 10
  • 75
  • 115
1 2
3
16 17