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
0
votes
0answers
19 views
Why doesnt my new cygwin .bashrc has interactive check work?
I just updated Cygwin and the new .bashrc contains this line right at the top:
echo "BEFORE TEST"
# If not running interactively, don't do anything
[[ "$-" != *i* ]] && return
echo "AFTER ...
0
votes
0answers
9 views
Case-sensitive error in compiler's building using crosstool-ng under Cygwin
When I try to build gcc cross-compiler using crosstool-ng under Cygwin (running in Windows 7) I have the following message:
$ /opt/ng-crosstool/bin/ct-ng build
[INFO ] Performing some trivial sanity ...
0
votes
1answer
19 views
How do I set up a private mirror server for Cygwin?
I want to download all of the cygwin files for a computer that is not connected to the Internet. I know I can download all of the cygwin files with rsync, but I'm not quite sure of the right ...
0
votes
0answers
39 views
How to get rid of QueryServiceStatus: Win32 error 1062 when you try to start sshd on Cygwin?
I installed Cygwin and sshd on Windows 7 but I'm not able to make it work.
I followed the guide from http://www.noah.org/ssh/cygwin-sshd.html but I still get:
$ cygrunsrv -S sshd
cygrunsrv: Error ...
0
votes
2answers
24 views
Installing on CYGWIN
This a cygwin newbe question.
On sites that have iunstuctions to install things, for example PHP has a page with Instructions ...
Installation on Unix systems
Installation on Mac OS X
Installation ...
0
votes
1answer
28 views
How to call this function with CYGWIN
On Windows with Cygwin in the .bashrc file there is a function that you can uncomment. I did so but I cannot figure out how to make it work or call it.
I tried doin the cd -- in the command line ...
0
votes
1answer
68 views
Why can't a certain environment-variable be added to my bash profile?
I am having an issue with running a PHP project called Phing with Cygwin.
It's not a huge problem because I can make it work but I am looking for a reason or a fix so I can do it differently.
In ...
0
votes
1answer
86 views
Run programs on Windows with CYGWIN
I am running Windows 7. I have XAMPP for my Dev server. I also have a PHP command line tool called Phing which is a build script.
Using the Windows command prompt I can cd to my directory that has ...
0
votes
1answer
38 views
Copssh, Chrootdirectory and spurious cygwin directory
I have limited sftp users to their home directory using this answer http://serverfault.com/a/201879/65157.
It all seems to be working fine. I only have 1 query though.
When I ever issue an 'ls' ...
0
votes
1answer
49 views
cygwin sftp limit user's to home directory
Is there any way to limit users to certain home directories with sftp and cygwin:
For example user1 cannot get out of
/home/user1/
User2
/home/user2/
I don't think there is on windows but maybe ...
0
votes
0answers
50 views
How to fix “SignTool Error: IStore2::Load returned error: 0x80090345”
I have a Jenkins job running the signtool utility on a remote node, the console log looks like so:
Started by user anonymous
Building remotely on vm-builder
[VE] $ cmd /c call "C:\Documents and ...
2
votes
1answer
104 views
Incorrect directory permissions with OpenSSH on Cygwin on Windows Server 2008 SP2
I ran into a weird directory permission problem when logged in to a Win2008SP2 (not R2) server through SSH. When I open a local cygwin shell on the server, i can do this:
myUser@myServer ~
$ cd ...
0
votes
0answers
78 views
Cygwin/Git error cygheap base mismatch detected
I have installed two windows servers with the latest versions of cygwin and git, and am trying to clone the git repository from S1, to S2. I can successfully ssh from S2 to S1 using RSA keys, but when ...
0
votes
0answers
57 views
psql on putty shows no output
I am using Windows Vista with Cygwin running on a PUTTY console. When I issue the command "psql -l -U grants -W", there is no output (i.e. no prompt for the password even):
But echo works ok..
Fri ...
0
votes
2answers
137 views
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 ...
2
votes
1answer
73 views
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 ...
0
votes
3answers
219 views
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 ...
0
votes
2answers
139 views
Using rsync from msysgit
I have three windows boxes that are connected to a linux box on my network in various ways (one's local to the network, one is a laptop and may or may not be local, and the other is my work desktop). ...
1
vote
2answers
245 views
CYGWin and sshd. Accepts authentication, but won't connect
Everything I find relating to this is the "ssh-exchange-identification:" error. This doesn't happen for me. I get two lines:
Connection to localhost closed by remote host.
Connection to localhost ...
-1
votes
2answers
42 views
cygwin's xd. what package is it in? [closed]
I am looking for the unix utility xd for Cygwin. What package do I need to install?
0
votes
1answer
105 views
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/* ...
4
votes
1answer
166 views
Shared Cygwin Install
I'm attempting to set up OpenSSH on a bunch of Windows Server 2003 machines in an automated fashion. My goal is to be able to do so using a single version of Cygwin installed on a network drive ...
0
votes
0answers
106 views
SSH on Windows 7/Cygwin periodically fails to resolve hostname
Whenever I run ssh inside of cygwin on Windows 7 I get the error:
ssh: Could not resolve hostname ... Non-recoverable failure in name resolution
lost connection
If I try the same command ...
20
votes
1answer
272 views
Is there a device file that just blocks?
... something similar to /dev/null, but that just blocks all bytes that are written to it?
What I need is a trick to hold an arbitrary executable in memory by blocking its output. Pipes don't seem ...
1
vote
1answer
113 views
Cygwin: Run SSH.exe (without cygwin.bat) with a keypair
I have a box I'm trying to create an SSH tunnel to using a keypair without a password. If I run cygwin.exe and generate a keypair without a password using ssh-keygen and put the public key on the ...
1
vote
0answers
164 views
What could cause this ProFTPD directory listing error?
The error I get in Filezilla is "Cannot get directory listing". In Firefox it just keeps on loading and nothing happens. For both clients the same messages appear in proftpd.log.
Computer - error ...
0
votes
2answers
36 views
Are there any incompatibility issues when running cygwin sshd on a windows 2003 domain controller?
I am asking for incompatibility here.
Safety was already covered in that question.
1
vote
2answers
107 views
How safe is it to run cygwin sshd on a windows 2003 domain controller
I have already installed cygwin (running sshd) on windows 2003 DC several times.
But now another admin who is actually responsible for this domain asked my if this is really safe.
Edit:: I changed ...
0
votes
0answers
85 views
Having trouble piping between cygwin and sqlcmd
This simple command fails in bash:
echo "print 'tsql'" | sqlcmd -E
it works correctly in a regular old command prompt.
It used to work with previous versions of cygwin. I've also tried inserting ...
2
votes
2answers
291 views
How to run a PowerShell script from Cygwin SSH session?
Hi
I have Windows Server 2003 with CopSSH installed on it ( Cygwin + sshd ). W would like to be able to run a PowerShell script via SSH session command and then use it's output. Is there such ...
0
votes
1answer
545 views
Can't run Cygwin/X as administrator on windows 7
When I run Cygwin/X as administrator, I get periodic errors when I try to run, e.g., xterm. I can get around this by running as not administrator, but I've been getting these errors when running exim ...
0
votes
1answer
257 views
cygwin ssh stops after adding user
I'm trying to set up a backuppc client using ssh+rsync via cygwin on Win 7. SSH was working fine. I added the backuppc user then used mkpasswd to add the user to /etc/passwd. Now ssh fails with:
...
1
vote
1answer
146 views
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 ...
0
votes
1answer
229 views
rsync ubuntu to windows under cygwin - way to avoid 'invalid argument 22' error?
I'm doing a backup from a ubuntu server to a windows machine running cygwin. I'm using the following command:
rsync -avx --timeout=30 --delete-excluded --exclude '.git' ...
0
votes
1answer
109 views
Disable SSH on cwrsyncserver?
I installed cwrsyncserver, the rsyncd.conf makes no mention of ssh and I am not specifying to use ssh when I connect. Yet, the error I get is connection to port 22 refused.
My rsyncd.conf is thus:
...
0
votes
1answer
215 views
Trouble with cwRsync on Windows
I have just setup cwRsyncServer on my 2008 server, it is permitted by the firewall, and I have configured a module with write access. The rsync server is running and listening.
I have cnfigured an ...
0
votes
1answer
306 views
Installation of openssh on windows 7 Professional 64 bit
I have installed openssh on windows many times with cygrunsrv but this is the first time I have attempted to do so on Windows 7.
I am using privilege seperation and the sshd and cyg_server users seem ...
0
votes
2answers
86 views
Rsync problem…filenames
I'm trying to back up users Chrome Sessions with Rsync with the following command:
rsync -e "ssh -i new.key" -r --verbose -tz --stats --progress --delete \
...
0
votes
1answer
97 views
CVSROOT problem because of username string
I have always been SVN user but currently I have to use CVS as the source repository. I am quite new to CVS and really got confused many a times (reason being I always tried to access CVS like SVN !)
...
0
votes
2answers
241 views
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 ...
-1
votes
4answers
233 views
which is the recommended way to install sshd in cygwin on windows 7 enterprise
What is the recommended procedure to install sshd on Windows 7 Enterprise ? I have already installed cygwin and openssh on this computer.
i'm open to non-cygwin sshd as long as there won't be any ...
0
votes
2answers
205 views
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 > ...
0
votes
1answer
170 views
Cygwin sshd service starts but only produces errors
I know this has been asked before, but I looked at the other questions and they didn't help, so here goes...
I installed cygwin (only OpenSSH and whatever else it automatically chose for it). I ran ...
-1
votes
1answer
56 views
Cygwin find integration
I would like to find all NON read-only files in my directory using cygwin's find command.
Is it possible ?
0
votes
0answers
103 views
scp umask in cygwin
I'm using cygwin to scp files from windows to linux. The problem is that when I copy a file, it has no permissions (----------). If I run umask in both environments I get 0022. How can I make cygwin ...
0
votes
1answer
152 views
Can't connect to windows via ssh
I downloaded cygwin and ran ssh-host-config. I'm trying to connect using
ssh -l micah myserver
it then says
micah@myserver's password:
I enter the same password I use to log into windows and it ...
0
votes
1answer
189 views
Cygwin Scp or Rsync permissions
Why is it that whenever I Scp or Rsync files from my Windows machine using cygwin to my Ubuntu server. The copied files will all have no permissions. Rsync doesn't even work because it cannot copy ...
1
vote
1answer
142 views
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 ...
0
votes
1answer
122 views
rsync doesn't use delta transfer on first run
I'm trying to synchronize a large local directory (with a batch file using rsync 3.0.7 on Cygwin, Windows 7 x64, 30k files, 200gb size) to a remote server (Debian x64 with kernel 2.6, rsyncd 3.0.7) ...
0
votes
1answer
269 views
Improper output in SSH session on OSX using FreeSSHd on Windows with cygwin bash/sh shell
I am testing out running an SSH server on a local Windows VM.
I have installed FreeSSHd and set the command shell to "c:\cygwin\bin\sh --login -i" (bash as well) with "Use new console engine" ...