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

Interix/SUA SSH server any good?

There are a lot of homebrew SSH servers (some free, some paid) out there, but I’ve always stuck to Cygwin’s port of OpenSSH because: Despite all of its strange properties, I am familiar with Cygwin, and more likely to know how to debug it when…
Edward Z. Yang
  • 406
  • 3
  • 8
2
votes
3 answers

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 running Samba Linux Active Directory Server, like in…
2
votes
4 answers

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. Why? I have the environment variable CYGWIN set to…
User1
  • 2,486
  • 5
  • 20
  • 21
2
votes
1 answer

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 (at least) two different use cases for this: 1)…
Anders Sandvig
  • 649
  • 2
  • 9
  • 10
1
vote
3 answers

SSH authentication failed and sshd reports setuid error: not such device or address after Cygwin update

I just updated Cygwin for git on server. And after restarting the sshd service. No accounts can ever logon anymore. Both domain user and local user are not able to logon ssh... ssh server1 -v gives ... nothing useful. .... debug1: Offering ECDSA…
Ben
  • 268
  • 2
  • 11
1
vote
2 answers

Cygwin - SSH DOMAIN user restrictions

In our company we are using cygwin on each of our machines to be able to run our projects with GNU make (everyone uses Windows 10)! I also developed a tool, with which all employees are able to synchronize their projects from their (slow) machines…
Dany
  • 11
  • 2
1
vote
1 answer

How can OpenSSH SSHD log date/time as well?

I use OpenSSH SSHD in Cygwin under Windows. I start SSHD with option "-e -D" in Registry Key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\sshd\Parameters\AppArgs to enable logging to file \cygwin64\var\log\sshd.log. This works…
cxxl
  • 123
  • 6
1
vote
1 answer

cygwin: chroot jail - cannot run any command

I have installed Cygwin with Apache, PHP, Mercurial, MYSQL, OpenSSH, PYTHON I have updated sshd_config to chroot jail to access user-defined folders example: Match group sftp_users ChrootDirectory /home/%u SSH / SFTP works fine as I wanted. After…
1
vote
0 answers

Cygwin ssh with keys error - A specified logon session does not exist

Update: The issue is only on Windows server 2008 R2. I created a Windows server 2012 R2 VM and it works fine. I want to run some windows query through ssh, but this is a interesting issue which I'm unable to find the cause of it. The error I get is…
user630702
  • 495
  • 10
  • 32
1
vote
1 answer

How to correctly install Cygwin with chosen packages from powershell?

I'm working on a Powershell automation script that deploys various dependencies on a Windows Server box (as prep for creating an AMI from it) and one of the dependencies is Cygwin with various packages such as Python, Curl, etc. Installing Cygwin…
motig88
  • 157
  • 1
  • 8
1
vote
4 answers

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) For example, I would run ssh localhost -l…
kizzx2
  • 160
  • 1
  • 8
1
vote
0 answers

A specified logon session does not exist. It may already have been terminated (only from SSH)(for the accounts not specified in Log On tab)

Some progress: This is working for the cyg_server user. That is the user by which the sshd is service is running. But this is not working other users. Some more progress: This is working for any account on which the services is started with. That is…
pinkpanther
  • 111
  • 6
1
vote
0 answers

SOCKS connection through cygwin and proxy fails

I have serverA with a rhel 6 flavor with no connection to internet and serverB with Win Server and Cygwin that connects to internet through a proxy namely I can do something like wget http://google.com and get a response. I was looking for a way to…
Nocturn
  • 133
  • 1
  • 10
1
vote
1 answer

Unable to ssh from windows 10 machine

Im trying to ssh a machine from my Windows 10 machine using a linux shell. I tried using Bash programm included in Windows 10 and i have got the following error: "Resource temporarily unavailable" I tried then using Cygwin but i have got the…
loicg
  • 11
  • 1
  • 2
1
vote
2 answers

How do I set up the SSL certificates with a certificate bundle?

I am trying to set up an encrypted connection from the MySQL database command line client to the MySQL database instance on AWS. AWS provided a certificate bundle which seems to have all their certificates for all their servers. The MySQL docs…
Adam
  • 236
  • 5
  • 15