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

Fatal: unable to initialise SFTP: could not connect

I'm running OpenSSH on Cygwin, which I'm trying to use as an SFTP server only. I installed it first with just the default settings (external SFTP server sftp-server) and it worked. I was able to run PuTTY's PSFTP and "open localhost" and browse my…
Kidburla
  • 131
  • 3
  • 8
2
votes
1 answer

Ansible throws an error with SSH connection reset when used under cygwin

When I try to do anything, even something basic with ansible under cygwin, I get the following error: $ ansible all -m ping example.org | UNREACHABLE! => { "changed": false, "msg": "Failed to connect to the host via ssh: mm_send_fd:…
Zaroth
  • 153
  • 1
  • 8
2
votes
3 answers

How to run cron service in cygwin?

I have run installed cygwin with openssh, rysnc and cron. I've run cygserver-config and cron-config cygcheck -c | grep cron cron 4.1-65 OK cygrunsrv -Q cron Service : cron Current State :…
John R
  • 383
  • 4
  • 13
2
votes
2 answers

Use CYGWIN to SSH to EC2 Instance

I am trying to SSH to EC2 from a Windows machine. After installing the CYGWIN (SSH enabled), I tried running the following command: ssh -i /cygdrive/c/cygwin64/home/user/.ssh/user-pc.pem ec2-user@ec2-xx-xxx-xxx-xxx.compute-1.amazonaws.com Which…
MadPhysicist
  • 133
  • 8
2
votes
1 answer

some ssh port forwarding operations not permitted, interactive ok, after client upgrade

Host: Amazon Linux with OpenSSH 6.6.1, OpenSSL 1.0.1k-fips 8 Jan 2015 Client: Win 10 with Cygwin OpenSSH 7.3p1, OpenSSL 1.0.2h 3 May 2016 I can ssh interactively with no problem: win10$ ssh user@example.com aws$ This port forwarding also…
sootsnoot
  • 405
  • 1
  • 5
  • 12
2
votes
1 answer

cygwin sshd "getnameinfo failed"

I run an Openssh sshd service from Cygwin. When an RSA connection is established: $ ssh Administrator@ZETA Last login: Wed May 11 13:58:50 2016 from 10.1.1.140 -- there is no error message. However, when I use an inline command: $ ssh…
Muposat
  • 121
  • 9
2
votes
1 answer

How Do I Compile Samba for Windows - Mainly SMBClient.exe?

I am using Pydio on a Windows Server 2012 R2 server for "cloud" file sharing. A situation has come up where we would like to connect to a existing share on another 2012 R2 server. Pydio has a SMB wrapper that relies on SMBClient.exe being on the…
ADY
  • 93
  • 1
  • 12
2
votes
1 answer

CYGWIN SFTP not working suddenly. Connection closed after authentication

I'd installed CYGWIN for SFTP purpose few weeks ago in a few Win 2003 R2 x64 server and initially all of them are working without problem. However this week problem rises where users are not able to SFTP to 2 of the servers. When connecting, error…
nlks
  • 132
  • 2
  • 3
  • 12
2
votes
1 answer

Cygwin OpenSSH server does not respond after first command from PHP (Using phpseclib)

I got cygwin and sshd working fine. And there are no issues at all when using putty. It responds as expected even for multiple commands. But when using phpseclib , A response is received only for the first command. Subsequent commands are giving a…
Sai Chaitanya
  • 131
  • 1
  • 5
2
votes
1 answer

Any way to centrally administer cygwin updates?

Is there a way to centrally administer cygwin, i.e. run remote updates on multiple boxes from a central 'admin machine'? basic goal: keep sshd up to date on all instances stretch goal: keep everything up to date and in sync. thanks
user50460
  • 315
  • 1
  • 2
  • 8
2
votes
2 answers

Logging ssh info using syslog-ng daemon in Cygwin

I have setup the syslog-ng daemon using Cygwin in Windows 7. What I want to do is to log all of the ssh failed passwords, etc to /var/log/sshd.log. I tried to do this by adding the following line: auth.* /var/log/sshd.log to…
synthesis
  • 53
  • 2
  • 10
2
votes
2 answers

Cygwin ssh issue: Could not resolve hostname awshost1: hostname nor servname provided, or not known

I'm learning "startup engineering", encountered this error when using ssh alias. Below is the detailed steps (executed in Cygwin windows 8): $ mkdir -p ~/.ssh $ cp ~/downloads/skey.pem ~/.ssh/ $ chmod 400 ~/.ssh/skey.pem $ chmod 700 ~/.ssh $ nano…
Shinbo
  • 31
  • 1
  • 1
  • 5
2
votes
1 answer

How to enable varnish daemon in Cygwin?

I've installed the varnish packages (3.0.2-1 or 2.1.5-1) in cygwin (for local testing of VCL on Win7 64bit) and want to start varnish listening on port 80 but the varnishd isn't available: $ varnishd -f /etc/varnish/default.vcl -s malloc,1G -T…
kidata
  • 23
  • 3
2
votes
4 answers

Why "jobs -p | kill -n 15" doesn't work?

I'm very new to Linux. And as a matter of fact I use Cygwin now and not Linux itself. I'm trying to install RVM (Ruby Version Manager). I was doing rm -r ./.rvm -i command. I wanted to remove .rvm folder and see how I'd been asked to delete or not…
Green
  • 23
  • 3
2
votes
1 answer

cygwin sshd service crashes whenever I open certain file in /etc

When I try to vim /etc/profile or vim /etc/motd it stops. When I try to touch those files it stops. Any ideas? Nothing in the ssh logs that seems to be pertinent.