Questions tagged [cygwin]

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

Filter by
Sorted by
Tagged with
10 votes
4 answers
24k views

Why isn't my public key allowing me to sign in without a password?

On my home network I have a server running Ubuntu and another desktop running Windows 7. I'm using cygwin on the Windows machine to ssh into the server. I attempted to set up keys between these two ...
Hector Scout's user avatar
3 votes
5 answers
51k views

Trying to get X11 over SSH working: Connection refused by server

Using Cygwin/X11 Launch command in local Xterm for SSH: xterm -e ssh -Y -v -l MyUser myserver.mydomain.com & After logging in, I've run setenv DISPLAY myclient.mydomain.com:0.0 When I try to ...
Luciano's user avatar
  • 131
2 votes
3 answers
2k views

running Samba Active Directory Server on Windows desktop (for developing)

Huh, I completely confused by others editing my post... breaking all system of referencing and linking into a mess... Bifurcating the question (1) Can anybody share experience and/or links on ...
Gennady Vanin Геннадий Ванин's user avatar
3 votes
3 answers
4k 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 ...
Matthew Lam's user avatar
0 votes
2 answers
7k 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 ...
DucDigital's user avatar
  • 1,541
2 votes
4 answers
2k 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. ...
User1's user avatar
  • 2,556
14 votes
5 answers
7k 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 ...
ithinkihaveacat's user avatar
0 votes
1 answer
365 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 ...
SvrGuy's user avatar
  • 1,012
4 votes
3 answers
31k 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 ...
josh3736's user avatar
  • 269
0 votes
1 answer
422 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 ...
User1's user avatar
  • 2,556
4 votes
6 answers
2k 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: ...
math0ne's user avatar
  • 163
0 votes
1 answer
2k 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 *(rw,...
Vi.'s user avatar
  • 841
0 votes
1 answer
196 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 ...
hatmatrix's user avatar
  • 115
4 votes
2 answers
7k 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 ...
Paul's user avatar
  • 998
4 votes
8 answers
12k 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 ...
Kirzilla's user avatar
  • 573
15 votes
3 answers
30k 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?
yazz.com's user avatar
  • 7,473
6 votes
5 answers
13k 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 ...
Deleted's user avatar
  • 1,832
1 vote
3 answers
331 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 ...
Maxim Veksler's user avatar
0 votes
1 answer
872 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 ...
user avatar
3 votes
2 answers
5k 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 ...
clang1234's user avatar
  • 131
4 votes
1 answer
1k 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 ...
LonnieBest's user avatar
  • 1,530
1 vote
2 answers
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 ...
backyardKiwi's user avatar
3 votes
2 answers
2k 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 ...
user12096's user avatar
  • 937
27 votes
6 answers
11k 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 ...
Jerph's user avatar
  • 379
15 votes
5 answers
16k views

ssh uses wrong home directory in Cygwin

$ ssh [email protected] 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 ...
user avatar
1 vote
4 answers
8k 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) ...
kizzx2's user avatar
  • 160
2 votes
1 answer
871 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 ...
Jeremy Odle's user avatar
3 votes
7 answers
23k views

Cygwin sshd on Windows 7 issue

Using an administrator privileged account I have installed cygwin sshd following instructions here successfully on Windows XP, Vista, but on Windows 7, after installation without errors when I try to ...
Murali's user avatar
  • 165
16 votes
6 answers
9k 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 (...
user avatar
8 votes
3 answers
30k 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 new ...
dmr83457's user avatar
  • 747
4 votes
2 answers
2k 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 /console'...
user21034's user avatar
  • 171
3 votes
1 answer
1k views

Inetd / xinetd isn't working under cygwin, why?

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 ...
Zimmy-DUB-Zongy-Zong-DUBBY's user avatar
1 vote
1 answer
1k 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.
Linulin's user avatar
  • 123
0 votes
1 answer
2k 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 ...
cletus's user avatar
  • 10.1k
1 vote
9 answers
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 ...
MiffTheFox's user avatar
1 vote
4 answers
8k 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 ...
user12906's user avatar
  • 111
2 votes
2 answers
2k 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?
sal's user avatar
  • 827
2 votes
2 answers
483 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 ...
Stacey Richards's user avatar
2 votes
5 answers
11k 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 ...
user avatar
1 vote
3 answers
825 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 ...
Kyle's user avatar
  • 1,879
7 votes
7 answers
38k views

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

SUMMARY: SSH isn't doing anything. > ssh user@[email protected] > ssh oshdfojsfsdof -psd sdfisdfjdsf (does nothing no matter what you pass to the commandline. No output, no errors, nothing) ...
user avatar
0 votes
3 answers
438 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 ...
Kyle's user avatar
  • 1,879
10 votes
4 answers
11k 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 ...
boutta's user avatar
  • 231
2 votes
3 answers
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" ...
user avatar
1 vote
2 answers
2k 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 cursor....
DCookie's user avatar
  • 2,098
2 votes
1 answer
2k 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 (...
Anders Sandvig's user avatar
17 votes
5 answers
22k 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? ...
Noah Sussman's user avatar
32 votes
4 answers
57k 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 "easy_install....
9 votes
6 answers
7k 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? ...
Moshe's user avatar
  • 582
0 votes
4 answers
1k 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 ...
cpm's user avatar
  • 143