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

Cygwin mkpasswd giving The format of the specified domain name is invalid

While trying to finish Cygwin config and running mkpasswd -l -d and mkgroup, it fails with the following error $ mkpasswd -l -u sorins -d…
sorin
  • 8,016
  • 24
  • 79
  • 103
0
votes
1 answer

cygwin sftp chroot cannot view contents of bound mountpoint

I'm trying to give user2 access only to his home directory and full permissions on /cygdrive/e. I created a Data/ directory within his $home, added a bind directive in /etc/fstab (see below), and issued a mount -a. I've got cygwin installed and…
rojo
  • 131
  • 1
  • 6
0
votes
1 answer

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 (http://cygwin.1069669.n5.nabble.com/1-9-2-0-Xwin-SIGSEGV-when-font-server-should-be-queried-td65322.html), but it's years old, and my…
Aaron F.
  • 895
  • 2
  • 8
  • 9
0
votes
1 answer

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 could ssh from cygwin to the linux box using…
0
votes
2 answers

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 users for that hosts, so I want to not to write them…
dhblah
  • 1,403
  • 2
  • 10
  • 7
0
votes
1 answer

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 running, and ssh localhost works (as does ssh…
openbas2
  • 5
  • 3
0
votes
1 answer

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 Unsuccessful with this error rsync: change_dir#3…
Moak
  • 734
  • 3
  • 10
  • 31
0
votes
2 answers

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 on Windows systems With cygwin does that mean you…
JasonDavis
  • 2,658
  • 6
  • 25
  • 32
0
votes
1 answer

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 but it doesn't do anything # b) function cd_func #…
JasonDavis
  • 2,658
  • 6
  • 25
  • 32
0
votes
2 answers

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 order to have Phing work with Cygwin on my system, I…
JasonDavis
  • 2,658
  • 6
  • 25
  • 32
0
votes
1 answer

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 a build file and then just run the cammand phing…
JasonDavis
  • 2,658
  • 6
  • 25
  • 32
0
votes
1 answer

Copssh, Chrootdirectory and spurious cygwin directory

I have limited sftp users to their home directory using this answer https://serverfault.com/a/201879/65157. It all seems to be working fine. I only have 1 query though. When I ever issue an 'ls' command, there appears to be an additional…
dagda1
  • 247
  • 3
  • 7
  • 19
0
votes
2 answers

Are there any incompatibility issues when running cygwin sshd on a windows 2003 domain controller?

I am asking for incompatibility here. Safety was already covered in that question.
mit
  • 1,914
  • 6
  • 29
  • 42
0
votes
1 answer

Can't run Cygwin/X as administrator on windows 7

When I run Cygwin/X as administrator, I get periodic errors when I try to run, e.g., xterm. I can get around this by running as not administrator, but I've been getting these errors when running exim as a service, so I need a better solution. Is…
Ron Romero
  • 121
  • 5
0
votes
1 answer

cygwin ssh stops after adding user

I'm trying to set up a backuppc client using ssh+rsync via cygwin on Win 7. SSH was working fine. I added the backuppc user then used mkpasswd to add the user to /etc/passwd. Now ssh fails with: Windows could not start the CYGWIN sshd service on…
Bubnoff
  • 415
  • 7
  • 18