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

learn more… | top users | synonyms

0
votes
1answer
15 views

How to pipe binary stdout to a compressed tls connection?

Not so long ago, I could use : cat somefile.txt | openssl s_client -connect server:port -quiet -comp However, this command doesn’t work, even with-ign_eof: $ cat somefile.bmp | openssl s_client ...
0
votes
0answers
5 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 ...
1
vote
0answers
31 views
+100

Cygwin paste long line is inserting newline at wrap point

I'm having issues with Cygwin's Copy/Paste functionality on a fresh install. If I scrunch my cygwin window small, and then type a command that is wider than it is (such as echo ...
1
vote
0answers
16 views

get the list of remembered Network Profiles of a Windows computer over ssh

AFAIK, Windows remembers the network locations you've connected to (and tagged as Guest, Work or Home). It identifies them based on (possibly among other things) the domain name returned by the DHCP ...
0
votes
0answers
9 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
1answer
23 views

How to mount Cygwin's /tmp on usertemp?

I've add this line to my /etc/fstab, taken from Cygwin's user guide, section 3.1.5: none /tmp usertemp binary,posix=0 0 0 However, I get an error trying to mount it: # mount /tmp mount: /tmp: ...
0
votes
1answer
35 views

Run C program in mintty from the windows command line

I want to run a C program in mintty and divert the stderr output stream to a file, debug.txt. This may be accomplished using: ./zombie_jump 2>debug.txt However, I am having issues lauching this ...
1
vote
1answer
19 views

Cygwin can't find the top command [duplicate]

When I want to run top I get a message saying that the command cannot be found. I had a similar problem with the nano text editor. I resolved that by installing the nano package from the Cygwin ...
1
vote
2answers
40 views

compare and find differences of 2 huge text files (50 gb)

I want to find the differences between two text files (more than 50 GB) each. I tried diff but, I got memory exhausted problem. I am using Windows7. My code is in PHP. I was calling diff from my ...
1
vote
1answer
41 views

Cant install gcc with cygwin on Windows 10

After installing cygwin on Windows 10, I tried to install gcc by cd C:\cygwin C:\cygwin\setup-x86_64.exe -q -P wget -P gcc-g++ -P make -P diffutils -P libmpfr-devel -P libgmp-devel -P libmpc-devel ...
0
votes
0answers
18 views

Cygwin X on high DPI

On my Windows 10 Surface Pro (2736x1824 resolution), whenever I connect via PuTTY to an Ubuntu 14.04 server and run Eclipse or gVim over Cygwin X, the text and windows are extremely small. I can drag ...
2
votes
0answers
39 views

Git - Git Pull Not Working In Cygwin

Just recently, git in Cygwin has not been behaving correctly. When I try to run a command like git pull it does not show anything about the pull. The git status command works just fine and shows the ...
0
votes
0answers
17 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
17 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
1answer
16 views

ssh authentication works, but git doesn't

I am using cygwin on Windows 10. When using ssh user@server.com ssh correctly loads my id_rsa, asks me for the passphrase and then authenticates me on the server. However, when I try to git push ...
0
votes
1answer
27 views

Cygwin SSH connection refused. Used to work now does not

I am trying to SSH to my iDevice (jailbroken) and it used to work. Yet now I get this: $ ssh root@192.168.0.25 -v OpenSSH_7.2p2, OpenSSL 1.0.2g 1 Mar 2016 debug2: resolving "192.168.0.25" port 22 ...
1
vote
0answers
34 views

Change mintty title according active tmux window (cygwin)

How can I change mintty terminal title to show title of active tmux window? For example: I would like in this case title to be active tmux window - ncmpcpp or even better if possible title ...
1
vote
1answer
41 views

mintty on Cygwin: how to change line spacing

I have cygwin installed on windows 7. Previously, there was no space between lines. I was able to fit ~90 lines on my screen. For some reason, now there is a small (looks like 2 pt) space between ...
0
votes
2answers
43 views

Why does ls // hang in Cygwin

When I run the command ls // is Cygwin, the shell hangs for about 12 seconds, then gives the error ls: reading directory '//': Permission denied. I remember reading somewhere that /some//path is ...
2
votes
0answers
27 views

sshd on cygwin: connection reset by peer

I installed inetutils on my cygwin this afternoon, and since then my sshd hasn't worked anymore. Here's the message from ssh client $ ssh localhost sh_exchange_identification: read: Connection reset ...
0
votes
0answers
22 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
41 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
35 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, ...
1
vote
2answers
108 views

Cannot install Cygwin on Windows 10

Trying to install Cgywin on my system I am getting no options at all of download sites Does anyone know where I can find the download links to put in the boxes? I've looked but I can't see any that ...
1
vote
1answer
35 views

Difference between ampersand (&) before or after command arguments

I am a Windows user and I am using Cygwin as my terminal. In order to run notepad++ from terminal I have added this lines to ~/.bash_profile: npp () { /cygdrive/d/Notepad++/notepad++.exe ...
0
votes
0answers
12 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 ...
-1
votes
1answer
24 views

Cygwin login fails using WinSCP under restored MS Windows Sysprep Image

Cygwin login fails using WinSCP under restored MS Windows Sysprep Image . Any clue why is it?
0
votes
1answer
34 views

A Windows application : Show live output of results(stdout?) of prespecified command

I am looking for a application that works in the following manner : The application shows/has an input area/box. And it runs a pre-specified command/application (using the input as paramas) and ...
0
votes
0answers
34 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
1answer
16 views

Cygwin unix-utils version of rename not functioning as it should

I'm trying to use the rename function, supplied as part of cygwin, unix-utils ( Mar22 2015), and it does not function as advertised. All the examples I've seen indicate this to be the syntax: rename ...
0
votes
0answers
22 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
24 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 ...
1
vote
1answer
46 views

SSH to github using CygWin doesn't work

I followed this article on github on how to generate ssh key but it keeps asking for a passphrase, but I haven't set up one! Even if I set up a passphrase it ignores it and asks for it again. It ...
0
votes
1answer
46 views

Search into Windows registry with grep/cygwin

I'm trying to search and remove unrelevantregistry keys, and it sounds like Cygwin does allow access to them through /proc/registry. However, recursive grep -r (2.21) outputs error lines like : ...
2
votes
1answer
54 views

Simplest way to add multiple users in Cygwin?

I've installed Cygwin but have trouble operating it conveniently. I'd like the ability to, for example, 'su peter' where peter has his own preference for home directory, and shell. I don't care about ...
0
votes
0answers
51 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
24 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 ...
0
votes
0answers
17 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
38 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
54 views

Permission denied on ssh access with cygwin

I have a fresh Windows 10 family (x64) install with an Administrator account Jean Perrin. I installed cygwin with openssh and modified C:\cygwin64\Cygwin.bat this way: @echo off C: chdir ...
0
votes
1answer
21 views

Cygwin and automated SSH Login - one user works, the other does not

Ok, so I have two windows computers and one linux computer. I setup cygwin and installed the ssh package. I then opened up the cygwin terminal on each computer and ran ssh-keygen -t -N '' I then ...
0
votes
0answers
6 views

Cygwin Terminal isn't working right [duplicate]

I opened Cygwin Terminal and it doesn't have sudo or apt-get. I don't know how to get major commands like these back. Does anyone know what I should do?
0
votes
1answer
43 views

GNU Screen hangs in ConEmu

I just did an update of Cygwin on a Windows 7 box. When I open ConEmu to a Cygwin Bash terminal, everything seems fine. However, if I run GNU Screen, the terminal locks up until I forcibly kill ...
2
votes
1answer
43 views

Why is this DOS batch file that installs Cygwin unattended failing?

After assembling information from all over the Internet, I've managed to come up with a DOS batch script that should be working AFAICT, but after the Cygwin setup executable finishes (seemingly ...
0
votes
0answers
26 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 ...
1
vote
1answer
154 views

cygwin1.dll not available error when installing Cygwin

I am unable to make Cygwin work properly. After download the Cygwin setup files (either the 32-bit version setup-x86.exe or the 64-bit version setup-x86_64.exe) from the Cygwin website, I ran it to ...
0
votes
0answers
36 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
1answer
40 views

tar xvfz and -xvfc both didn't worked in Cygwin on Windows

I tried tar with xvfz and -xvfc both didn't work in Cygwin on Windows. $ tar xvfz sshpass-1.0.5.tar.gz tar (child): sshpass-1.0.5.tar.gz: Cannot open: No such file or directory tar (child): Error is ...
0
votes
0answers
130 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 ...
0
votes
0answers
107 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 ...