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
32
votes
4 answers

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.py: command not found". I have tried to search…
Alex Gontmakher
  • 101
  • 1
  • 2
  • 4
32
votes
6 answers

Using rsync from msysgit for binary files

I have three windows boxes that are connected to a linux box on my network in various ways (one's local to the network, one is a laptop and may or may not be local, and the other is my work desktop). I'm currently making use of git to syncronize…
Will Gant
  • 331
  • 1
  • 3
  • 3
26
votes
6 answers

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 to enter my SSH key passphrases for both SSH key…
Jerph
  • 369
  • 1
  • 4
  • 6
21
votes
1 answer

Is there a device file that just blocks?

... something similar to /dev/null, but that just blocks all bytes that are written to it? What I need is a trick to hold an arbitrary executable in memory by blocking its output. Pipes don't seem to be usable, because the output gets written to a…
Armin
  • 312
  • 1
  • 8
17
votes
5 answers

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? If so, any configuration pointers would also be…
Noah Sussman
  • 268
  • 1
  • 2
  • 8
16
votes
5 answers

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 fingerprint is .... Are you sure you want to…
Vidar Kongsli
16
votes
6 answers

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 (deps, version, etc)
noname
16
votes
6 answers

How to run a PowerShell script from Cygwin SSH session?

I have Windows Server 2003 with CopSSH installed on it ( Cygwin + sshd ). I would like to be able to run a PowerShell script via SSH session command and then use its output. Is there such a capability? How to do it?
malloc4k
  • 831
  • 2
  • 9
  • 16
15
votes
3 answers

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
  • 6,743
  • 14
  • 37
  • 38
14
votes
5 answers

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 availability/ease in compiling random software…
ithinkihaveacat
  • 1,604
  • 3
  • 14
  • 18
12
votes
3 answers

Why does ssh-host-config create two users in Cygwin on Windows 8.1?

In trying to resolve some issues with using Cygwin + SSH on Windows 8.1, I'd like to know why the ssh-host-config script creates two new accounts configuring OpenSSH from scratch? (Is this necessary?) The two accounts are: cyg_server and sshd, when…
not2qubit
  • 271
  • 1
  • 3
  • 10
10
votes
4 answers

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 quicker ssh into a box doing a certain command which…
boutta
  • 231
  • 1
  • 3
  • 8
9
votes
2 answers

ssh on cygwin (win10): read_passphrase: can't open /dev/tty:

Executing ssh on cygwin under windows 10 recently started failing, after many years of stable logins. The relevant output from ssh under a mintty from Xwindows: % ssh -tt -vvv debug3: Failed to open…
JP Mattia
  • 301
  • 1
  • 2
  • 10
9
votes
6 answers

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? What are the reasons to learn Powershell at all…
Moshe
  • 582
  • 5
  • 9
8
votes
3 answers

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 user on the host machine Add user to openssh…
dmr83457
  • 707
  • 3
  • 9
  • 20
1
2 3
16 17