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
2
votes
2 answers

Non-interactive SSH connection fails - error: can't open /dev/tty: No such device or address; Host key verification failed

Below you can see the log. The connection is from a Cygwin SSH client to a Cygwin SSHD server. The connection works ok when launched from the command line but fails when launched from Jenkins (Java Continuous Integration server). The /dev/tty file…
oblio
  • 375
  • 1
  • 3
  • 12
2
votes
2 answers

Cygwin sshd and LDAP authentication

Is it possible to configure sshd installed via cygwin on WinXP to use LDAP for user authentication? If so, where can I find a howto guide to do this?
sal
  • 827
  • 3
  • 12
  • 18
2
votes
0 answers

cygwin's ps -W doesn't show all processes when running through an ssh session

I hope this is the right place to ask this question: I have two machines (Win7) running cygwin. Machine A connects to Machine B through an ssh session. When I run ps -W in the ssh terminal on A, the list of processes is missing some of the processes…
0x4B1D
  • 141
  • 7
2
votes
2 answers

Rsyncing to a USB drive failing every now and again

I have been using rsync over ssh (cygwin) for some time now from a Windows 2003 Server to back up files to a Debian box which has a USB hard drive attached. The files are rsynced directly to the USB hard drive which is mounted as /media/backup on…
Stacey Richards
  • 324
  • 4
  • 6
2
votes
5 answers

Access denied using NET USER command via SSH session

I am using an ssh client to log into a server to issue password change commands from the prompt. The problem occurs when attempting this on the domain server. I log in using an admin account (not THE administrator account) and attempt to change the…
Nev
2
votes
1 answer

strftime returning time for wrong timezone

I'm trying to get "dts" to echo the current local time in vim (cygwin under Windows 7) byt the output is GMT+1 instead of the localtime (GMT-7). My abbreviation works fine on other machines, but I can't get it to work on this one. The abbreviation…
Logan
  • 141
  • 7
2
votes
1 answer

using logrotate on win7 with cygwin

I am using the famous logrotate with windows 7 and cygwin, I have the latest cygwin dll but somehow the app doesn't work for me, and the config file seems to be ok. Has anyone encountered this before? my config file is like…
Igor
  • 21
  • 2
2
votes
1 answer

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 I am wrong. Failing that is there anyway to only let…
dagda1
  • 247
  • 3
  • 7
  • 19
2
votes
1 answer

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 /cygdrive/c/Windows/System32/inetsrv/ myUser@myServer…
Davy Brion
  • 41
  • 5
2
votes
2 answers

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 various flavors of unix2dos in there, and I've…
Eric H.
  • 133
  • 3
2
votes
3 answers

ssh_exchange_identification: Connection closed by remote host

Possible Duplicate: ssh_exchange_identification: Connection closed by remote host I see this is a common error but I have read through many questions and answers and nothing of it seems to help. # ssh -vvv machine OpenSSH_5.1p1 Debian-5, OpenSSL…
Zitrax
  • 794
  • 2
  • 11
  • 21
2
votes
2 answers

nfs server on cygwin slow

The setup: We run an instance of cygwin nfsd on a Windows 2008 Server (Xeon 3,2 GHz). There are several Sun Solaris and SunOS machines accessing the shares. This is the exports file: /disk3 (rw,all_squash) /disk2 (rw,all_squash) Those paths…
KutscheraIT
  • 203
  • 1
  • 6
2
votes
2 answers

How to run a cygwin executable with Windows TaskScheduler without opening a terminal?

Using Windows XP Task Scheduler, I've scheduled the execution of a cygwin program (C:\cygwin\bin\svn.exe update). It is working fine, but when it executes, a terminal window titled svchost.exe opens. It is very annoying. Is it possible to execute…
neves
  • 1,230
  • 2
  • 12
  • 16
2
votes
3 answers

Need help with putting Cygwin on DVD for a offline install

I'm trying to put the whole of Cygwin on a DVD, so I can have it with me for an offline install. I downloaded setup.exe, putted "download without install" and selected Current version and under "All" I selected "Install". After it downloaded all of…
Richard
2
votes
4 answers

CYGWIN sshd "port 22: Connection refused"

Googled this to death, cannot resolve. I cannot connect to my CYGWIN sshd from another machine. Netstat shows connection is established. Can connect locally, no problem. [oracle@aserver ~]$ ssh myid@mycomp ssh: connect to host mycomp port 22:…
ultracrepidarian
  • 138
  • 1
  • 1
  • 4