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
1
vote
1 answer

Odd SSH port disconnect

Currently I have ssh set up using openSSH on cygwin. I port forwarded from my router to the computer, and added an exception for port 22 on my windows firewall. I have free AVG which I believe does not have a firewall associated with it. When I…
foboi1122
  • 113
  • 4
1
vote
4 answers

Autostart Cygwin on Windows boot and run a cygwin command

Sometimes my Windows server reboots at night to install new updates. Then the next day I find out that my cygwin instance has been stopped. What I want is on Windows start, also run Cygwin AND run a specific command. so, step 1: Right now I have a…
Peter
1
vote
2 answers

Netcat says 'operation not permitted'

I thought I could easily copy a tgz from a linux box to a windows box (cygwin) by doing this on the linux box: nc -vv -l 4444 < file.tgz And this on the windows box: nc -vv 10.13.13.2 4444 > file.tgz But whenever I do that the windows box…
dsummersl
  • 206
  • 3
  • 8
1
vote
1 answer

How do I arrange for an ssh key with a passphrase to be loaded and available in ssh-agent to other processes on Windows startup?

I'm setting up automated deployment of applications in a Windows environment from continuous integration (TeamCity build-agents), and using cygwin + openssh to perform the remote-execution part of that - I'm basically using ruby's capistrano with a…
Peter Mounce
  • 1,253
  • 5
  • 16
  • 29
1
vote
4 answers

Why dd finishes instantly when pipelining to cat?

I start bash on Cygwin and type: dd if=/dev/zero | cat /dev/null It finishes instantly. When I type: dd if=/dev/zero > /dev/null it runs as expected and I can issue killall -USR1 dd to see the progress. Why does the former invocation finishes…
agsamek
  • 321
  • 1
  • 3
  • 12
1
vote
2 answers

cd in bash script

I work in a windows environment but prefer to use bash in cygwin as my shell. To cd to a lengthy path I am given in windows form I type: cd $(cygpath -u 'Z:\Some\long\windows\path') ..pasting the windows path in from the clipboard. Since I'm lazy…
1
vote
3 answers

Native Symlink Windows 2008 r2 with cygwin

Is it possible for me to create an ssh session on windows which then does some folder/file manipulation and then creates a NATIVE windows symlink. i.e. a symlink that will be recognised by IIS and other app/services. i've tried to create a symlink…
mickdelaney
  • 121
  • 2
1
vote
2 answers

Cygwin User/home folder non existant

I'm a novice at cygwin/linux administration so please be patient with my ignorance: I'm trying to change my .bashrc profile and setup (.gitconfig ) I can't seem to find my home folder. My hypothesis is that i don't have my home folder because i've…
chrisjlee
  • 1,005
  • 2
  • 13
  • 21
1
vote
6 answers

How can I run squid in cygwin

I've got cygwin installed on a windows machine & I'm trying to run squid. But when I run /usr/sbin/squid -i it does nothing, no response, no log files, nothing. I've tried searching for solutions but all I've found is one particularly hostile…
Glenn Slaven
  • 2,400
  • 2
  • 30
  • 42
1
vote
2 answers

Cygwin/X startx gives blank gray screen

So I know I've had this working before, but after a fresh install of Windows XP and Cygwin, I can't seem to get the Cygwin/X server to give me anything other than a gray screen and an hourglass cursor. I followed the instructions on the Cygwin/X…
DCookie
  • 2,098
  • 1
  • 17
  • 18
1
vote
3 answers

X server for Windows

I'm looking to run Cygwin xterm on my machine. For this I need an X server, which one would you recommend? It's important that it won't leak memory too much, and that it would be fast enough to allow reasonable terminal based work on the PC.
Maxim Veksler
  • 2,725
  • 10
  • 28
  • 32
1
vote
1 answer

How to use scp when cygwin is used as default shell

I have installed openssh-server from optional features on a Windows machine. I can ssh and scp (I need upload only) from my Linux box; However I don't like cmd shell, so I installed Cygwin and set it as default shell for openssh-server (configure…
Ali Asadpoor
  • 121
  • 3
1
vote
0 answers

rsync over ssh getting permission denied errors in Cygwin

I have a ubuntu 20.04 server I just set up and I'm trying to backup a few windows computers to it using rsync over ssh. I've set up password less keys and that seems to work. I've also setup the authorized_keys file on my ubuntu server so that only…
user614004
  • 11
  • 1
1
vote
2 answers

Cygwin and rsync on Windows 10

I'm trying to use rsync in a Cygwin terminal to sync some folders with my linux server. The problem is, the password prompt comes up ok but when I enter the password, it is echoed to the screen and then sits there. There is no rsync process running…
Richard Thomas
  • 121
  • 1
  • 3
1
vote
2 answers

Cygwin, OpenSSH and Gitosis on Windows Server 2008

I spent serveral hours getting Cygwin, OpenSSH and Gitosis to work together on Windows Server 2008 x64 - unfortunately the tutorials on the web (from e.g. Shannon Cornish) don't seem to have an answer to my problem. I get the following trying to…
backyardKiwi
  • 13
  • 1
  • 4