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

learn more… | top users | synonyms

1
vote
1answer
21 views

Connect trough Cygwin without being asked for password

I'm trying to connect to a remote machine using Cygwin, the connection is successful problem is that it always asks me for the password. ssh -i ~/.ssh/id_rsa -o "StrictHostKeyChecking no" ...
-1
votes
1answer
22 views

Tidy reports missing library cygtidy-0-99-0.dll

I am trying to execute tidy.exe but get the following error message. /cygwin/bin/tidy.exe: error while loading shared libraries: cygtidy-0-99-0.dll: cannot open shared object file: No such file or ...
0
votes
1answer
17 views

Cygwin terminal cannot show the contents of unicode text file correctly

I have a text file with Urdu text. I use the cat command to view the content, but I see distorted digits and symbols like text. How can I view the text correctly?
1
vote
0answers
13 views

SSH Cygwin Password not recognised

I have recently been using Cygwin to connect to an Ubuntu box which I host my server on, however it has just been reset completely. Previously I had no issues using Cygwin however I recently re-made ...
1
vote
2answers
43 views

How do I stop cygwin from creating undeletable files? Or can I delete them somehow?

Once in a while cygwin seem to create files that doesn't seem to be removable at all. When deleting from cygwin it just doesn't happen (rm says nothing, but the file is still there). When trying from ...
-1
votes
1answer
30 views

Cygwin use urxvt as shell and w3m-img not working with neofetch / ranger

So I'm trying to use urxvt instead of mintty but I haven't found a way other than launching mintty then launching urxvt and closing mintty. I tried making another .bat file which launched cmd.exe and ...
0
votes
0answers
21 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
1answer
20 views

How to pass options to command using cygwin run.exe

I want to execute a bash command with my user environment, and I do not want to open a terminal windows on my Windows desktop. I tried: c:\cygwin64\bin\run.exe zsh -lic emacs And it opens a emacs ...
3
votes
1answer
35 views

Cygwin help: Installing autoconf, automake, and gettext

I would like to know how to install autoconf, automake, and gettext on my cygwin installation. Can anyone please help me?
0
votes
1answer
27 views

OpenSSH 'Server refused our key' and 'Access denied'

All configuration seems fine but OpenSSH replies with errors: 2048 bit keys was generated, public one put into C:\cygwin64\home\user\.ssh\authorized_keys. When trying to connect using PuTTY to ...
0
votes
1answer
29 views

Bitvise SSH Server putting extra spaces in session

I am using Bitvise SSH Server on my Windows machine for remote access. The login shell is ZSH, and I am using Oh My Zsh with it. However, I have also tried BASH and got the same problem. Therefore I ...
0
votes
1answer
41 views

Cygwin installation stops in make step

I'm installing Cygwin and GNU C compiler with the help of the tutorial How to Install the Latest GCC on Windows I have completed the following steps Install Cygwin Install Required Cygwin Packages ...
1
vote
1answer
23 views

Completion of arguments for Cygwin commands not working due to `.exe` extension

When using tab completion in Bash on a Cygwin system to complete the name of a command, the .exe extension is appended to the command name, e.g, typing opens and pressing Tab completes the command to ...
0
votes
1answer
29 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
27 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
1answer
14 views

Trouble installing MySQL through Cygwin on Windows 10 “error while loading shared libraries”

I'm running babun(cygwin based) shell on Windows 10, and trying to install MySQL. I've ran: $pact install mysql mysqld Which executed successfully. Now, when running: $mysql_install_db I'm ...
1
vote
2answers
89 views

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 ...
0
votes
0answers
13 views

How do I launch/use Cygwin as the shell for TortoiseHg?

In the settings for TortoiseHg, there is an option to select what shell you would like to use. The two defaults listed are, as you might expect, "windows_command_prompt" and "powershell" but I would ...
1
vote
0answers
21 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
15 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
29 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
51 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
22 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
51 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
70 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
36 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
45 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
22 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
19 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
21 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
36 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
47 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 ...
2
votes
1answer
61 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
46 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
62 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
45 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
67 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
123 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
38 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
40 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
37 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
17 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
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
25 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
62 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
56 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
71 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 ...