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

ssh localhost exits with "debug1: Exit status -1 "

I am trying to setup ssh and ssh to localhost on Cygwin, but I am getting the following error. Any suggestions will be appreciated: $ ssh -v localhost OpenSSH_6.0p1, OpenSSL 1.0.1c 10 May 2012 debug1: Reading configuration data…
fixxxer
  • 131
  • 1
  • 1
  • 4
3
votes
2 answers

cygwin sshd fails to allocate pty for some users

I have (finally) got sshd working under cygwin on Win7 - well, sort of. The sshd runs as user 'cyg_server'. I'm able to successfully ssh to my computer using that same user name. However, if I attempt to ssh using my normal (Windows) user name, it…
Paperclip Bob
  • 131
  • 1
  • 3
3
votes
2 answers

SSH connection times out

Given: vm - a WinXPsp3 virtual machine hosted by a Win7sp1 physical machine alice is the user on vm srv - a Win2008R2sp1 server bob is the user on srv quake - a linux server mark is the user on quake Both vm and srv have the same new installation…
mark
  • 725
  • 3
  • 15
  • 32
3
votes
2 answers

Raw copy with sector precision on windows

Is there some program for windows that is able to do what dd does in linux out of the box? I need to copy from a file to a physical disk in raw mode where I need to define offsets for input and output. So for dd, I'd need to use the seek and skip…
user462982
  • 175
  • 1
  • 6
3
votes
2 answers

Why is my ssh connection failing?

I'm trying to use SSH authentication between my WinXP desktop running Cygwin and a Mac laptop, and for the life of me, I can't get it working. My public key is on the macbook in the authorized_keys directory, and my private key is sitting there, all…
WindyCityEagle
  • 213
  • 3
  • 6
3
votes
2 answers

rsync on Windows - permissions in remote folder not set properly

I am having a slight problem. I use rsync (Cygwin) in Window and the files that are synced in my remote folder is not right. rsync -r /cygdrive/c/xampp/htdocs/mysite/* me@mysite.com:/home/mysite/public_html/ Right now, I use rsync to upload the…
wenbert
  • 145
  • 1
  • 7
3
votes
2 answers

Cgywin - issue setting /var permissions for ssh

I am having trouble to install ssh via Cygwin on my latest new Windows machine with the latest Cygwin version. *** Warning: The permissions on the directory /var are not correct. *** Warning: They must match the regexp d..x..x..[xt] *** ERROR:…
weismat
  • 343
  • 3
  • 16
3
votes
5 answers

Trying to get X11 over SSH working: Connection refused by server

Using Cygwin/X11 Launch command in local Xterm for SSH: xterm -e ssh -Y -v -l MyUser myserver.mydomain.com & After logging in, I've run setenv DISPLAY myclient.mydomain.com:0.0 When I try to launch an Xterm I get: Xlib: connection to…
Luciano
  • 131
  • 1
  • 1
  • 4
3
votes
3 answers

How to SSH to Windows 7 as a privileged user

Once openSSH/Cygwin is installed and working on Windows 7, it seems like any user you use to ssh into the Windows 7 box takes on plain user privileges. That is, the user cannot execute privileged commands even if the user is an Administrator. Is…
Matthew Lam
  • 33
  • 1
  • 5
3
votes
2 answers

Basic proxy with OpenSSH, Cygwin, Putty

I know this is probably a common question, but after looking around for a few hours (on this site and others), I can't find a solution. I'm trying to set up a simple proxy. I already have a server running Windows Server 2008. I've installed Cygwin…
clang1234
  • 131
  • 1
  • 6
3
votes
0 answers

How to use Windows 10 OpenSSH ssh-agent service with Cygwin?

I'm using the Visual Studio Code Remote - SSH extension on a Windows 10 laptop to access a bunch of Linux development servers. I followed these instructions to set up the Windows built-in ssh-agent service, which is basically a few lines in an…
kbro
  • 260
  • 1
  • 2
  • 12
3
votes
2 answers

Where is the bare cygwin package list located and how do I manipulate it?

Where is the bare cygwin package list located and how do I manipulate it programmatically or from a shell or with a different method than the gui? I know the gui (setup.exe), and I'd love to go one or more levels deeper. I can retrieve a list of…
user12096
  • 927
  • 6
  • 23
  • 39
2
votes
1 answer

Cygwin 2.9.0 cat/tac Commands Fail on Large Files when Piping to grep -q -m1

I am seeing some odd behavior using Cygwin x64 2.9.0 on Windows 10 Pro x64. The command I am attempting to run is the following: tac | grep -q -m1 -F "literal string" The above command succeeds on all small files that I throw at it (small…
Jeff G
  • 121
  • 5
2
votes
1 answer

Why is git not using identity set in ssh config file?

I am trying to connect to my local Gitea server. I have set it up to use the integrated SSH server on port 2222. I am running Windows. Gitea is running fine. Now I want to connect using Cygwin's git. For testing the connection to my repository I am…
Jack Miller
  • 155
  • 1
  • 7
2
votes
1 answer

Cygwin SFTP directory security

Here is what we are trying to accomplish: A client drops off a file on a Windows/Cygwin SFTP folder A Windows service scans the folder and processes the file The problem: The Windows service is getting a WinIOError when attempting to delete the…