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
4
votes
1 answer

SSH on Windows 7/Cygwin periodically fails to resolve hostname

Whenever I run ssh inside of cygwin on Windows 7 I get the error: ssh: Could not resolve hostname ... Non-recoverable failure in name resolution lost connection If I try the same command immediately after the error, it works without issue. If I…
lfalin
  • 141
  • 5
4
votes
1 answer

Improper output in SSH session on OSX using FreeSSHd on Windows with cygwin bash/sh shell

I am testing out running an SSH server on a local Windows VM. I have installed FreeSSHd and set the command shell to "c:\cygwin\bin\sh --login -i" (bash as well) with "Use new console engine" unchecked. (When it was enabled no output would show…
Tyler Clendenin
  • 197
  • 1
  • 1
  • 10
4
votes
2 answers

Access NFS share from cygwin?

We have a Windows 2003 Server on which we have installed Microsoft's Services for UNIX, and we have mounted a few NFS shares that contain shared resources that we need to access from this box. When I log in to this server with remote desktop, I am…
Jason Voegele
  • 141
  • 1
  • 3
4
votes
3 answers

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 regular user account, ssh says "Permission denied." I…
josh3736
  • 269
  • 1
  • 3
  • 11
4
votes
6 answers

Can I compile mutt under cygwin?

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: error: no curses library found" I have all the…
math0ne
  • 163
  • 7
4
votes
2 answers

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 Mark for his article on it). I can ssh to localhost on…
Paul
  • 998
  • 1
  • 11
  • 19
4
votes
8 answers

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 /cygdrive/c/Documents and Settings I've created .ssh…
Kirzilla
  • 563
  • 3
  • 9
  • 21
4
votes
1 answer

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 may access these restored files. I know how to…
LonnieBest
  • 1,510
  • 4
  • 22
  • 39
3
votes
7 answers

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 start the service ... net start sshd The CYGWIN…
Murali
  • 165
  • 1
  • 1
  • 7
3
votes
2 answers

Ansible: Failed to connect to the host via ssh

Anyone know why this isn't working? I'm using Ansible on Cygwin using a compiled version of sshpass. I followed the instructions at http://www.jeffgeerling.com/blog/running-ansible-within-windows for setting it up. Here's my /etc/ansible/hosts…
hourback
  • 288
  • 1
  • 5
  • 16
3
votes
1 answer

Create domain policy to assign user rights

I’m a Unix administrator who also has to work with various MS Windows servers. For various tasks, I’m a lot more productive using the Unix tools that I’m familiar with and for a long time, I’ve been using Cygwin on my local workstation. Now, I’d…
3
votes
1 answer

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 fails to open netcat, with the error "no such file or…
3
votes
1 answer

How to use cygwin to access AWS linux server instance

I am trying to use Cygwin to connect to my Amazon server instance I am new to this Currently i have a USA.pem file located at C:\Users\Vinay\Desktop\Devrath I have installed Cygwin I have used this reference to use cmd prompt with cygwin now i…
Devrath
  • 149
  • 1
  • 1
  • 5
3
votes
2 answers

`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 /home/user/project/clientside 2 5 7 6 9 5 7…
3
votes
3 answers

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 on Linux, adding my key to ~/.ssh/authorized_Keys…
sorin
  • 8,016
  • 24
  • 79
  • 103