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

learn more… | top users | synonyms

3
votes
2answers
1k views

How to SSH to Windows 7 as a privileged user

Once openSSH/Cygwin is installed and working on Windows 7, it seems like any user you use to ssh into the Windows 7 box takes on plain user privileges. That is, the user cannot execute privileged ...
0
votes
2answers
2k views

bind(): Operation not permitted on Nginx

I just installed Nginx on my machine to run Nginx. After install and config. I try to run nginx and got this problem: bind() to 0.0.0.0:8843 failed (1:Operation not permitted) I have no idea what ...
0
votes
3answers
831 views

wmic hangs in Cygwin

If I open Cygwin in rxvt, running wmic does not show the expected wmic:root\cli> prompt. If I execute C:\cygwin\bin\bash.exe from cmd.exe, running wmic inside bash.exe returns the expected prompt. ...
11
votes
5answers
3k views

What are the practical differences between Interix and Cygwin?

Both Interix and Cygwin appear to provide a Unix-like user environment in Windows. What are the practical differences between the two, in terms of, for example: Unix-like "feel" Performance Package ...
0
votes
1answer
314 views

Cygwin Rxvt issue

With a recent version of CYGWIN (installed yesterday) on Windows 7, we are having a weird problem getting rxvt to work. We used to use the following batch file: @echo off C: chdir C:\cygwin\bin ...
3
votes
2answers
8k views

Can't login to Cygwin sshd server with a non-administrator user account

I'm having some difficulties logging in to my Windows 2008 server (a DC) running Cygwin sshd. I can log in fine with an account that is a member of the Domain Admins group, but when I try with a ...
0
votes
1answer
313 views

Can't remove tunnel created by Cygwin

I need to make a tunnel from Linux to my Windows 7 machine. I have been able to get it to work with Cygwin, but it's not possible to remove the tunnel later. To create the tunnel, I type: ssh -f -N ...
4
votes
6answers
951 views

Can I compile mutt under cygwin? [closed]

I've been trying to compile mutt under cygwin for a few days. The included version is outdated and does not include things I need like header caching. Anyways, I always get the message: "configure: ...
0
votes
1answer
1k views

How to start Cygwin's NFS server in read-write mode?

Installed Cygwin's NFS server. It works. But I can't make it allow writing to the filesystem. Why does it fail? Server: $ cat /etc/exports #/ 10.99.98.2(rw,no_root_squash) /cygdrive/c/foranevia ...
0
votes
1answer
185 views

Windows XP running as OpenSSH server through cygwin. Can I remotely execute MS-DOS commands?

I tried typing cmd or cmd.exe at the bash line which then takes to the DOS shell. But from there I tried executing something like trial.bat which contains some lines to access a series of executable ...
4
votes
2answers
5k views

Cygwin, ssh, and git on Windows Server 2008

I'm trying to setup a git repository on an existing Windows 2008 (R2) server. I have successfully installed Cygwin & added git and ssh to the packages, and everything works perfectly (thanks to ...
1
vote
2answers
2k views

startx doesnt run gives an error xauth unable to link authority files [closed]

I have installed windows xp on VPC and have installed cygwin-x on that virtual machine. When i run startx command. I get the following error: xauth: creating new authority file ...
2
votes
4answers
3k views

cygWin connect by SSH using RSA key; ssh.exe couldn't create /home/user/.ssh

I'm using Win XP and I'm trying to connect by SSH to remote host using RSA key. I've investigated that cygWin recognizes Documents and Settings dir as home directory Z:\app\cwRsync\bin>cygpath -H ...
13
votes
3answers
17k views

How do I install a cygwin package from the command line?

I can install a cygwin package when I first install cygwin, but is there something like: cyginstall git kind of like apt-get?
5
votes
4answers
6k views

Problem using a public key when connecting to a SSH server running on Cygwin

We have installed Cygwin on a Windows Server 2008 Standard server and it working pretty well. Unfortunately we still have a big problem. We want to connect using a public key through SSH which doesn't ...
1
vote
3answers
201 views

X server for Windows [closed]

I'm looking to run Cygwin xterm on my machine. For this I need an X server, which one would you recommend? It's important that it won't leak memory too much, and that it would be fast enough to allow ...
0
votes
1answer
819 views

Connecting Linux and Windows Amazon EC2 instances through SSH

I have reserved a Linux and a Windows instances in Amazon EC2. I would like to access between the two through SSH. I have installed cygwin (with openssh package) in the Windows instance. How should ...
3
votes
2answers
2k views

Basic proxy with OpenSSH, Cygwin, Putty

I know this is probably a common question, but after looking around for a few hours (on this site and others), I can't find a solution. I'm trying to set up a simple proxy. I already have a server ...
4
votes
1answer
382 views

How can you prevent Permissions Problems when Restoring a Windows Machine with Rsync?

When restoring files (using rsync over cygwin) from Linux to Microsoft Windows XP (and probably to all version of windows), each file restored has permissions so strict, that only the "SYSTEM" account ...
1
vote
2answers
3k views

Cygwin, OpenSSH and Gitosis on Windows Server 2008

I spent serveral hours getting Cygwin, OpenSSH and Gitosis to work together on Windows Server 2008 x64 - unfortunately the tutorials on the web (from e.g. Shannon Cornish) don't seem to have an answer ...
3
votes
2answers
786 views

Where is the bare cygwin package list located and how do I manipulate it?

Where is the bare cygwin package list located and how do I manipulate it programmatically or from a shell or with a different method than the gui? I know the gui (setup.exe), and I'd love to go one or ...
19
votes
6answers
6k views

Can I use PLink and Pageant with Cygwin's ssh?

I'm now using msysgit because of the GUI tools, which use Putty's Pageant and PLink utilities, but I use Cygwin as a general SSH terminal. I had been using ssh-agent on Cygwin, but that means I have ...
3
votes
2answers
3k views

ssh uses wrong home directory in Cygwin

$ ssh usaname@login.somehost.no Could not create directory'/cygdrive/c/Documents and Settings/vidar kongsli/.ssh'. The authenticity of host 'login.somehost.no (...)' can't be established. RSA key ...
0
votes
3answers
382 views

cygwin SSHD auto closes the connection upon connection

I run cygwin/sshd on Windows Vista. I used to be able to use ssh to connect to my computer alright, until recently it started not working (I think I installed and removed some other cygwin packages) ...
2
votes
1answer
550 views

Cygwin SFTP directory security

Here is what we are trying to accomplish: A client drops off a file on a Windows/Cygwin SFTP folder A Windows service scans the folder and processes the file The problem: The Windows service is ...
13
votes
5answers
4k views

Cygwin package management

In cygwin, how do I: List all installed packages List files belonging to a package Tell which package a file belongs to Install a new package Uninstall a package Get info about an installed package ...
4
votes
3answers
7k views

Proper setup of user permissions for OpenSSH on Windows?

I am trying to setup OpenSSH on Windows to provide SFTP sites. I am running into some problems with user security settings. Here are the basic steps I've gone through to create a user: Create a ...
2
votes
1answer
967 views

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 ...
2
votes
0answers
633 views

inetd / xinetd not working under cygwin

I am trying to use xinetd (or inetd) with netcat to act as a TCP proxy. This setup works on Linux without issue. Under Cygwin, either as a service or from the a Cygwin command line, the (x)inetd ...
0
votes
1answer
819 views

How to change environment variable for already installed Cygwin services

For example, I need to switch Cygwin sshd service from 'ntsec' to 'nontsec' mode on quite a few Windows machines without re-installing the service.
0
votes
1answer
889 views

SSH from Windows hangs when using insert mode in vim on Dreamhost: Why?

I have SSH set up using Cygwin on Windows XP SP3 to Dreamhost. It works fine except that when I edit a file with vi and use insert mode (eg press 'i' and type in some stuff). I then try and hit escape ...
1
vote
9answers
2k views

X11 tunnelling through SSH from Fedora 3 server to Windows Vista client fails to work

Okay, I've tried using Xming and PuTTY, as well as Cygwin/X and Cygwin ssh, and it is not working. I've been able to run X applications locally, so it's not a client-side X problem. I've connected ...
1
vote
4answers
6k views

Best way to have full Python install under cygwin/XP?

Pythons installed under WinXP have dirs like DLLs, DOC, include, etc. but python (2.5) installed with cygwin is a bare python.exe. My motivation for asking is that 'things' under XP don't seem to be ...
2
votes
2answers
1k views

Cygwin sshd and LDAP authentication

Is it possible to configure sshd installed via cygwin on WinXP to use LDAP for user authentication? If so, where can I find a howto guide to do this?
1
vote
2answers
336 views

Rsyncing to a USB drive failing every now and again

I have been using rsync over ssh (cygwin) for some time now from a Windows 2003 Server to back up files to a Debian box which has a USB hard drive attached. The files are rsynced directly to the USB ...
1
vote
5answers
7k views

Access denied using NET USER command via SSH session

I am using an ssh client to log into a server to issue password change commands from the prompt. The problem occurs when attempting this on the domain server. I log in using an admin account (not THE ...
1
vote
3answers
683 views

svnstat script

So I'm building out a shell script to check out all of our relevant svn repositories for analysis in svnstat. I've gotten all of this to work manually, now I'm writing up a bash script in cygwin on my ...
1
vote
7answers
2k views

SSH Does Nothing, No Matter What Command Line it Get (Cygwin)

SUMMARY: SSH isn't doing anything. > ssh user@www@.yserver.com > ssh oshdfojsfsdof -psd sdfisdfjdsf (does nothing no matter what you pass to the commandline. No output, no errors, nothing) ...
0
votes
3answers
374 views

cygwin termcap issue running top?

When logging in to a Debian Sarge install from cygwin, if I run top the output is "double spaced" for lack of a better word. The end result is that I can see the last few lines for the last few ...
8
votes
4answers
6k views

Why is my .bashrc not read under cygwin?

My .bashrc looks like this: alias name@server="ssh server sname" echo "bashrc read" The echo statement is just for checking if it is read. But the echo does nothing. I want to set an alias for a ...
2
votes
3answers
2k views

Need help with putting Cygwin on DVD for a offline install

I'm trying to put the whole of Cygwin on a DVD, so I can have it with me for an offline install. I downloaded setup.exe, putted "download without install" and selected Current version and under "All" ...
1
vote
2answers
1k views

Cygwin/X startx gives blank gray screen

So I know I've had this working before, but after a fresh install of Windows XP and Cygwin, I can't seem to get the Cygwin/X server to give me anything other than a gray screen and an hourglass ...
1
vote
1answer
1k views

Enable mousewheel scrolling in rxvt under Cygwin?

I currently use Cygwin and rxvt as my default terminal environment running bash. I would like to be able to scroll in the output window using the mouse wheel. Is this possible? I realize there are ...
15
votes
5answers
17k views

IRC server for Windows?

I would like to run an IRC server for users of my LAN, and my best option would be to do so on a Windows XP box. Is there a decent Windows/Cygwin IRC server that you have used and would recommend? ...
21
votes
4answers
23k views

How to run easy_install in cygwin?

I am trying to install some package in cygwin's python, but I'm getting the following error: "easy_install: command not found". I have tried to run "easy_install.py", the result is also ...
9
votes
6answers
3k views

what are Powershell's advantages over cygwin/unix-shell

The obvious difference I'm aware of, is the ability to interface to certain MS products, such as Exchange. But for one not having to administer such products, what are the advantages of Powershell? ...
0
votes
4answers
450 views

Starting and stopping Mongrel service over SSH on Windows Server 2003

I have a Rails app running under mongrel as a windows service on a Windows Server 2003 installation. I'd like to automate deploying new versions of the app from my Ubuntu dev server. Cygwin is ...
3
votes
8answers
6k views

How can I use cygwin without wasting HD space?

I love using Cygwin, but I hate all of the extra disk space it seems to use caching stuff I don't need. What can I delete to keep my installation footprint as small as possible? On a related note, ...