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
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
  • 727
  • 3
  • 9
  • 20
8
votes
4 answers

Cygwin startup error /usr/bin/id: cannot find name for group ID

I use cygwin at work to get quick access to unix tools and as an ssh terminal. I recently installed some new Cygwin packages and now when I try and open a terminal it is very slow and gives the following error: /usr/bin/id: cannot find name for…
Greg Bray
  • 5,610
  • 5
  • 36
  • 53
8
votes
3 answers

Environment variables are unavailable when running scripts over ssh

Suppose I have two hosts: A and B with users a and b. B is Windows machine with Cygwin installed, if this matters. B is configured to be accessed from A through SSH without password (it contains A's public RCA key), so I can run commands on it from…
Silver
  • 83
  • 1
  • 1
  • 3
8
votes
3 answers

Unattended solution to install cygwin and enable ssh server on Windows?

Using Cygwin environment on Windows is a very common solution for automation. I am looking for a script that would automate the cygwin installation and enablement of ssh server. I could try to write one but one of the problems is that I don't know…
sorin
  • 8,016
  • 24
  • 79
  • 103
8
votes
1 answer

How do I fix certificate errors when running wget on an HTTPS URL in Cygwin Windows?

I have Cygwin installed in my windows system. I am trying to execute wget command for a website but I am getting the following error message: ERROR: The certificate of `example.com' is not trusted. ERROR: The certificate of `example.com' hasn't got…
Tripz
  • 81
  • 1
  • 1
  • 2
7
votes
9 answers

How can I use cygwin without wasting HD space?

I love using Cygwin, but I hate all of the extra disk space it seems to use caching stuff I don't need. What can I delete to keep my installation footprint as small as possible? On a related note, what is a good barebones set of packages that will…
7
votes
1 answer

Socat to share a serial link between multiple processes

I have a scenario where multiple processes on the same box want to communicate with a serial device. Process A needs two-way communications with the serial port, and Process B only needs to be able to write to the serial port. The serial device is…
John Walthour
  • 191
  • 1
  • 7
7
votes
11 answers

How to get rid of QueryServiceStatus: Win32 error 1062 when you try to start sshd on Cygwin?

I installed Cygwin and sshd on Windows 7 but I'm not able to make it work. I followed the guide from http://www.noah.org/ssh/cygwin-sshd.html but I still get: $ cygrunsrv -S sshd cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error…
sorin
  • 8,016
  • 24
  • 79
  • 103
7
votes
7 answers

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

SUMMARY: SSH isn't doing anything. > ssh user@www@.yserver.com > ssh oshdfojsfsdof -psd sdfisdfjdsf (does nothing no matter what you pass to the commandline. No output, no errors, nothing) FULLY STORY: I recently installed Cygwin so that I could…
Matt
7
votes
1 answer

mget: filename.xlsx: file already exists and xfer:clobber is unset

I am getting this: mget: filename.xlsx: file already exists and xfer:clobber is unset error when I try to download the contents of my ftp server. Basically it is setup using cygwin. We recently upgraded the server where all of the data is downloaded…
Chris
  • 71
  • 1
  • 1
  • 2
7
votes
12 answers

best ssh program for Windows?

I know of Putty. I currently use rxvt (via Cygwin). Is there a more "integrated" terminal program for Windows out there? e.g. something closer to KDE's kconsole -- where I can have multiple shells all tabbed within the same window. etc.
Aaron F.
  • 895
  • 2
  • 8
  • 9
6
votes
2 answers

Cygwin Screen and SSH: Utmp slot not found -> not removed

When I use screen on my computer and detach, I am taken back to the command prompt and everything is fine. However, if I SSH into my computer remotely and use screen, when I try to detach I get the error Utmp slot not found -> not removed. It then…
rwolst
  • 161
  • 5
6
votes
1 answer

How do I set up a private mirror server for Cygwin?

I want to download all of the cygwin files for a computer that is not connected to the Internet. I know I can download all of the cygwin files with rsync, but I'm not quite sure of the right incantation. Can you help me?
vy32
  • 2,088
  • 2
  • 17
  • 21
6
votes
5 answers

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 work. It always falls back to using password…
Deleted
  • 1,832
  • 8
  • 23
  • 31
5
votes
1 answer

Cygwin Windows < Linux rsync - connection unexpectedly closed

I'm trying to backup my Raspberry Pi 3 (Raspbian) to my desktop computer (Windows 10 Pro). At the moment I can SSH each way, specifying the private key file. To SSH into the RPi from Windows: ssh root@192.168.1.107 -i H:/ssh/BB8.OpenSSH.ppk (root to…
DarkMatterMatt
  • 241
  • 2
  • 11
1
2
3
16 17