SSH session failing with latest cygwin/openssh version 1.7.32(0.274/5/3)

2014-10-30 Thread Prakash Babu
SSH Server: I have installed cygwin 1.7.32 and configure sshd on my windows host. SSH Client : I use jsch-0.1.51.jar (latest) as my ssh client When I try to establish an ssh session I get the following failure message. Exception Algorithm negotiation fail The following is my ssh client and serve

Re: batch script execution failing with 255 exit code in cygwin 1.7.28

2014-02-16 Thread Prakash Babu
thanks Christopher. I found the following archive which introduced this fix (http://cygwin.com/ml/cygwin-patches/2014-q1/msg00017.html) I feel this causes an inconsistent behavior when batch scripts are executed using command interpreter(cmd.exe) and cygwin. There are some generic batch script we

Re: batch script execution failing with 255 exit code in cygwin 1.7.28

2014-02-16 Thread Prakash Babu
thanks Christopher for your response. This is the observation I made wrt to the command line delimiters for batch files. cmd.exe delimiters == space, equalto(=) semicolon (;) comma(,) cygwin 1.7.27 delimiters == space quotes("") equalto(=) comma(,) cygwin 1.7.28 deli

batch script execution failing with 255 exit code in cygwin 1.7.28

2014-02-13 Thread Prakash Babu
Hi , I use Cygwin to execute batch scripts on remote windows hosts using ssh. The batch script execution started failing with the latest cygwin version 1.7.28. The exit code thrown is 255 and batch script is not able to process the command line arguments. When I try to print the command line a

fork process error in cygwin 1.7.16

2012-08-31 Thread Prakash Babu
Hi, I am seeing the following "fork process error" while using the latest cygwin version (1.7.16) on Windows 2003 Server(64 bit) $ uname -a CYGWIN_NT-5.2-WOW64 1.7.16(0.262/5/3) 2012-07-20 22:55 i686 Cygwin $ sh.exe $ sh.exe 0 [main] sh 2824 fork: child -1 - forked process 3192 died unex

execution of C:/cygwin/bin/sh.exe failing during process fork.

2012-04-02 Thread prakash babu
Hi,   I am using Cygwin (CYGWIN_NT-5.2-WOW64 1.7.11(0.260/5/3) 2012-02-24 14:05 i686 Cygwin) on Microsoft Windows Server 2003 X64 Service Pack 2 .   When I invoke C:/cygwin/bin/sh.exe from the command prompt it fails intermittently with the following error.   $ C:/cygwin/bin/sh.exe -c 'date' 2919

Re: setting CYGWIN=nodosfilewarning not working.

2010-06-10 Thread prakash babu
orking. > To: cygwin@cygwin.com > Date: Thursday, June 10, 2010, 7:04 PM > On 10 June 2010 12:55, prakash babu > wrote: > > I have a web application which runs as SYSTEM user in > windows. > > It executes the following command using Java > Runtime.exec api's > >

Re: setting CYGWIN=nodosfilewarning not working.

2010-06-10 Thread prakash babu
. > To: cygwin@cygwin.com, jprakashb...@yahoo.co.in > Date: Thursday, June 10, 2010, 5:30 PM > On 06/10/2010 05:55 AM, prakash babu > wrote: > > I have a web application which runs as SYSTEM user in > windows. > > It executes the following command using Java > Runtime

setting CYGWIN=nodosfilewarning not working.

2010-06-10 Thread prakash babu
I have a web application which runs as SYSTEM user in windows. It executes the following command using Java Runtime.exec api's C:/cygwin/bin/sh.exe -c C:/cygwin/bin/mkdir.exe -p 'C:/cygwin/tmpdir' The command executes fine but I get the following warning. cygwin warning: MS-DOS style path detec

ssh setup fails on cygwin

2010-06-09 Thread prakash babu
I know that cygwin 1.5 is no longer supported but since my application requires ssh to be setup and extensively uses chmod on MS-DOS paths I want atleast the the cygwin 1.5 install and ssh setup done successfully. Hence I installed cygwin 1.5 on three windows XP machines using setup-legacy.exe

how to create a wrapper chmod.exe for cygwin 1.7

2010-06-08 Thread prakash babu
In cygwin 1.7 chmod does not work with MS DOS style paths and I need to convert these paths to POSIX style paths before doing the chmod Is there a way to create a wrapper chmod.exe that will do this conversion and then perform the chmod operation. thanks, Prakash -- Problem reports:

Cygwin install issue

2010-06-08 Thread prakash babu
I installed cygwin 1.5 using the setup-legacy.exe and all the binaries get installed in C:\Cygwin\usr\bin instead of C:\Cygwin\bin and hence the C:\cygwin\cygwin.bat link is broken How do I change the binaries install location from C:\Cygwin\usr\bin to C:\Cygwin\bin thanks in advance, Prakash

cygwin 1.5 installed using legacy-setup.exe not working

2010-06-04 Thread prakash babu
Since Cygwin 1.7 does not support MS-DOS style paths for chmod , I installed cygwin 1.5 using legacy-setup.exe The installation went fine but the C:\\cygwin\\bin has only two binaryies ash.exe and cygrunsrv.exe. Also the Cygwin.bat exits immediately after invoking Is there any document availabl

ntvdm encountered a hard error

2010-04-06 Thread prakash babu
I installed cygwin 1.5 using the legacy setup available at http://cygwin.com/setup-legacy.exe. The install went through fine, but when I click on the cygwin binary i get "ntvdm encountered a hard error". How do I over come this ? Also when I install cygwin using the legacy setup I find only t

want to continue using Cygwin 1.5

2010-04-03 Thread prakash babu
Since MS-DOS style path is not supported by chmod in Cygwin 1.7, I want to continue using Cygwin 1.5 on my new Windows box. I dont see cygwin 1.5 setup.exe in the main and the mirror sites. Please let me know how to download and install cygwin 1.5 thanks, Prakash -- Problem reports:

chmod fails for MS-DOS style path in cygwin 1.7.2-2

2010-04-01 Thread prakash babu
I am using cygwin 1.7.2-2 and chmod fails for MS-DOS style path with the following error message. eg: chmod 755 C:\\FileName   cygwin warning: MS-DOS style path detected: C:\FileName Preferred POSIX equivalent is: /cygdrive/c/FileName CYGWIN environment variable option "nodosfilewarning" turns of

1.5.24-2 question about using echo on remote node.

2007-09-17 Thread Prakash Babu
Hello all, I am trying to run the following command using cygwin on a remote node using ssh. /bin/sh -c 'echo Number=\"1234567\" >> /tmp/file1' The command executes successfully but the file has content Number=1234567(double quotes missing) instead of Number="1234567". The same command wo