cygwin provides a Unix/Linux-like environment under Microsoft Windows OSes.

learn more… | top users | synonyms

0
votes
0answers
33 views

MSYS2 permissions

In Windows 10, with MSYS2 I set my fstab to: none / cygdrive binary,posix=0,acl,user 0 0 I am unable to set execute permissions with chmod, despite having acl set in the fstab: # echo > foo # ...
0
votes
0answers
26 views

Reset colors on Windows command line (cmd) when ssh'd into another box

This is pretty close to a duplicate of this question: Reset colors on Windows command line (cmd) The difference is that I'm ssh'd into a unix box with Cygwin... When I call reset I don't get my ...
0
votes
0answers
74 views

How to compile SIPP with pcap on cygwin64?

I am trying to compile SIPP on cygwin64 on windows 7 64 bit with enabling pcap according to the official sipp documentation here: http://sipp.sourceforge.net/doc/reference.html#Installing+SIPp ...
0
votes
0answers
20 views

Linux locale - how to disable smart quotes?

On my Gentoo system, find . -regextype help outputs find: Unknown regular expression type ‘help’; valid types are ‘findutils-default’, ‘awk’, ‘egrep’, ‘ed’, ‘emacs’, ‘gnu-awk’, ‘grep’, ‘posix-awk’, ‘...
0
votes
0answers
26 views

cygwin: git commit - vim Editor always in line 5 but not on file edit

I am using cygwin on windows and git from the shell. VIM is configured as my default commit message editor. When I am editing my commit message, ie $ git commit my cursor always resides to line 5 ...
0
votes
0answers
26 views

Can I permanently change the windows timezone vis ssh and cygwin?

I have a bunch of VM's with Windows Server 2008 R2 and ssh running via cygwin. I want to change the timezone on all of them. I would prefer not to RDP to every one of them and do it manually. I have ...
0
votes
0answers
28 views

Cygwin command to set user path when logging in ssh

I've setup a sshd as a service on windows 7 with cygwin, choosing to create cyg_server to run it. Now I can login to my machine via SSH with my normal username, everything works, except what depends ...
0
votes
0answers
60 views

Running a Cygwin Program from a Windows Shortcut

I am attempting to set up my Windows 10 laptop with a few Linux programs using Cygwin and I'm not having much success. My goal is to have shortcuts in my start menu that act just like native ...
0
votes
0answers
113 views

Adding additional SSL certificate to be recognized in Cygwin

I have a server setup that has an HTTPS certificate issued by a major certificate provider (DigiCert). The certificate is recognized by all of the browsers on a machine running Windows Server 2008 R2, ...
0
votes
0answers
15 views

How to set user environment HTTP_PROXY variable depending on network attached?

I spend about half my time behind a corporate firewall with a restrictive proxy, and the other half on open outbound connections. When I am on the corporate network and use CLI tools through cygwin ...
0
votes
0answers
46 views

How can I set up a linux-like ssh server on Windows 7?

I have tried two things so far: (1) I installed openssh directly following the steps in this guide https://winscp.net/eng/docs/guide_windows_openssh_server. While this was easy, and worked in the ...
0
votes
0answers
23 views

Bash to dos conversion trouble windows path cygwin

I am having a problem with this script that is run through cygwin using a bash script. I need to run this script using a direct network path which is shown in the second snippet of code. #!/bin/sh -p ...
0
votes
0answers
34 views

Symantec cloud antivirus now blocks Git, SSH, Cygwin

I run Symantec Cloud Antivirus on Windows. Recently, after an upgrade, it started blocking SSH, Git, Cygwin. In particular, it deletes git, says it fails a SONAR Heuristic, and doesn't seem to give ...
0
votes
0answers
87 views

How to make MinTTY close gracefully on Ctrl-C?

I would like some servers, like MongDB, to run inside terminal under Windows. I use the following command to run them: start <PATHTOMONGO>\mongod.exe --dbpath <PATHTODATA> Standard ...
0
votes
0answers
60 views

Windows RegEdit: How to properly quote Cygwin commands in Registry “RunAs” entry?

I have a Windows machine with Cygwin/X installed and X11 server running. I want to open text files with Cygwin/X's GVim. I already have it set up, with the appropriate Registry entry at Computer\...
0
votes
0answers
23 views

SSH connection breaks again and again

I am using SSH to achieve remote desktop connection. I am using cygwin at server side and plink at client side to connect the SSH server. It was working fine without any error till yesterday. Now I am ...
0
votes
0answers
65 views

how create ssh-tunnel PC-to-LAN through SSH in VPN (CYGWIN) to the remote LAN

I have remote PC (WIN7) and access to it throurgh VPN to PC2 (win7) I configured CYGWIN at that PC and able to connect via PUTTY to that SSH. Remote PC has access to the own LAN. I have to get that ...
0
votes
0answers
52 views

stdout of my app visible in cygwin bash.exe, and not visible in mintty.exe

I have a simple c program with printf("start\n");. When I run it from bash.exe -i -l, I can see the stdout. When I run it from mintty.exe, I can't see it. How can I make it visible thru mintty.exe as ...
0
votes
0answers
56 views

Cygwin ssh in domain environment

I managed to get a Cygwin ssh server to work with domain accounts with the use of the /etc/passwd file. The problem is now when a user browses outside of the cygdrive e.g. in the root of my c: ...
0
votes
0answers
232 views

How to configure cygwin git to work behind proxy?

I am using Windows 7 x64. I have installed Git for Windows and cygwin's git. These are the installed versions for Git for Windows: user@machine MINGW64 ~ $ uname -a MINGW64_NT-6.1 machine 2.4.0(0....
0
votes
0answers
300 views

How can I find the password of a CygWIN 'cyg_server' privileged user?

Have given this a good web-search, and inside the forum also, but cannot yet find. I have the Privileged user cyg_server as a CygWIN user in /etc/passwd file, and it also shows up in its own right as ...
0
votes
0answers
17 views

to restore the contents of the console after exiting from vim in cygwin(windows 7)

I have cygwin installed on windows 7. While working with cygwin and vim, i see that the contents on the console are getting cleared. I would like to restore the contents. Is there a solution to this ...
0
votes
0answers
62 views

ProFTPd on Cygwin - “Service Could Not be Started”

When I run net start proftpd I get this output: The Cygwin proftpd service is starting. The Cygwin proftpd service could not be started. The service did not report an error. More help is available ...
0
votes
0answers
118 views

rsync unexplained error (code 255) at io.c(820)

Out of the blue, upon vagrant up, rsync started throwing the error below: There was an error when attempting to rsync a synced folder. Please inspect the error message below for more info. Host path:...
0
votes
0answers
28 views

Read binary file of expected size blocking until the size is equals expected

I want to read a dowloaded file while it is being written for instance with tail -f -c +1 $filename and to redirect it to another tool (which decodes it) with a pipe |. This works fine but I am doing ...
0
votes
0answers
214 views

Why do I get this “Could not find /tmp” error from Git (or bash.exe)?

I am using Git to manage our project sources. For the continuous use, I employ a couple of active environments: TortoiseGit, for visual operations and immediate status feedback. Cygwin, through ...
0
votes
0answers
64 views

X11 Forwarding Error:

I have encountered an issue with X11 Forwarding. I can SSH into my Odroid XU4 running Ubuntu 15.04 from my laptop running windows 8 over the WLAN and have successfully used X11 to forward applications ...
0
votes
0answers
33 views

Specifying Path With Escapes in an Environment Variable

This is a shell escaping syntax, cmake, and perhaps Haskell issue (not sure where to fix it). Specifically, I am in Cygwin and trying to execute something like: CXX=/different/g++ ./build_all.sh .....
0
votes
0answers
282 views

“bash: gfortran: command not found” in Cygwin after Fortran installation is complete

I just installed Cygwin and am using it to run an open source software package which requires the use of a Fortran compiler. I have run setup-x86_64.exe and installed (I believe) all the Fortran ...
0
votes
0answers
31 views

ConEmu doesn't show non-ASCII characters

I'm using ConEmu (on windows 7) for a few months now. Everything worked fine until today. Indeed, now I can't write non ASCII characters like 'é' : when I press the key, nothing happens. I'm using ...
0
votes
0answers
126 views

How should I properly configure NetBeans with MinGW-w64 and MSYS2?

I'm trying to set up NetBeans for C++ development. I have installed msys2 into C:\msys64 and installed mingw-w64 within it. I added them into my path and compiled my test project on the command line ...
0
votes
0answers
29 views

Why does my PowerShell belief it's a Cygwin terminal?

Lately I discovered that colorama* does not work as intended. It does not convert ANSI escape sequences into WinAPI calls to change the PoSh console text colors. I noticed that it works correct in an ...
0
votes
0answers
34 views

Unable to keep process running in Windows 7 (version 6.1.7601)

I am using ssh to login to a windows 7 system, the configuration for cygwin was already configured, when i am trying to start a selenium server using the command start "startSeleniumServer" java -...
0
votes
0answers
28 views

Vim in Cygwin skips keypresses

My Cygwin installation works fine except when I code in vim, it skips the keys I press, and it happens annoyingly often. I don't seem to have this problem when I am in the bash, but when I start ...
0
votes
0answers
23 views

Error in Remote Desktop connection through SSH

We are implementing new method access to Remote Desktop from clients through SSH server. We use cygwin to implement that. In the sshd_config file of the server we do the following settings, Port 1234 ...
0
votes
0answers
215 views

How to configure dircolors in Cygwin

I've been trying to customize the appearance of the ls command in Cygwin, but have not been able to get the dircolors command to work properly. I am was following the steps found in this tutorial. ...
0
votes
0answers
39 views

view xml file in emacs

I'm using Cygwin xEmacs 24.5. My goal is to view xml file nicely formatted. First I opened it using nxml-mode or xml-mode and it was OK to view it. Then I somehow 'played' with schema and I assume I ...
0
votes
0answers
134 views

How to change windows security features to allow cygwin to interact with the desktop

I would like to run a process on a remote machine in interactive way, I mean that even though it doesn't require any user interaction I need that the process pops up a window GUI. I Use Cygwin 1.7 ...
0
votes
0answers
30 views

How to set cygwin sshd language to English?

Why is sshd/cygwin outputting messages in portuguese (yes, I'm in Brazil but even Windows 7 is set to English)? For example: $ net start sshd O servi▒o solicitado j▒ foi iniciado. Para obter mais ...
0
votes
0answers
106 views

Can't migrate ruby windows to ruby cygwin

On my windows 8.1+cygwin install, I had an windows ruby install. As I use mostly cygwin and cygwin and non-cygwin tools tend not to work well with each other, I wanted to move ruby to cygwin. ...
0
votes
0answers
18 views

How to diagnose command-line hang if looking at it with Process Explorer makes the hang stop?

It's a command-line hang, so you'd think it would be easy to diagnose. But I just can't figure out why 1 out of 25 times, certain scripts of mine hang. I'm sure it's something I've done. Typically, ...
0
votes
0answers
90 views

cygwin ssh connection OK via localhost, but not via 127.0.0.1

I've installed Cygwin and OpenSSH server on it. Cygwin version is 2.2.1(0.289/5/3) and OpenSSH version is 7.0p1-1 After some configuration, I can connect on my SSH server with: $ ssh username@...
0
votes
0answers
123 views

Connecting Pidgin to ZNC (Windows)

I'm on Windows 7, and have installed ZNC through Cygwin. I've created a server configuration, and I'm trying to connect a pidgin account to it via these instructions. I keep getting the "SSL ...
0
votes
0answers
87 views

Cygwin SFTP server works fine with WinSCP, but Linux client shows “connection reset by peer”

Using Cygwin, I configured an SFTP server on a Windows 7 machine. I can use WinSCP for file transferring from another Windows machine, but when I try to log in to the machine from a Linux machine it ...
0
votes
0answers
327 views

Can cygwin shell interfere with git bash when using Git Bash Here?

I've been using Cygwin terminal for a long time, and have gotten very used to its quirks and what-not. Recently I've been using the Git Bash shell in Windows 7 (64-bit). For Git command-line work, I ...
0
votes
0answers
564 views

unable to ssh after generated public and private keys in windows 7

Can some one help ? I have installed openssh (version OpenSSH_6.8p1, OpenSSL 1.0.2a) in windows 7 and I have generated the public and private keys, however I'm not able to connect to that SSH. I'm ...
0
votes
0answers
144 views

mintty problems with Windows 8.1 on-screen keyboard (tablet) and Alt-Gr keys

On a tablet running Windows 8.1 I installed Cygwin 2.0.0 64. Unfortunately I have issues using the on-screen (virtual) keyboard with Alt-Gr keys from within mintty. Example: In Germany to get to the ...
0
votes
0answers
215 views

rsync is missing files

I'm trying to get rsync working between Win7/cygwin source and CentOS 7 VM destination. My command: rsync --dry-run -r -a -v -i -h -x --ignore-times --checksum --progress --delete --delete-before --...
0
votes
0answers
688 views

Permission Denied (Public Key,password,keyboard-interactive)

I have installed CYGWIn and then run SSH-HOST-CONFIG There I have disabled the stric mode and created a privileged user for SSH. Now when I do ssh cyg_server@localhost , I am getting the password ...
0
votes
0answers
265 views

Windows 10 Technical Preview: running custom commands

I have recently installed the Windows 10 Technical Preview and like using unix in my terminal. When I had Windows 8 I used a very lightweight application called gow that installed a few unix commands ...