Re: "Could not load host key: /etc/ssh_host_ecdsa_key"

2011-02-05 Thread Jeffrey J. Kosowsky
Jeffrey J. Kosowsky wrote at about 21:54:13 -0500 on Saturday, February 5, 2011: > Just loaded a fresh version of Cygwin-1.7 on a new machine and ran > ssh-host-config without any problems. > > However it keeps failing to start up. > The log shows: > Could not load host key: /etc/ssh_ho

"Could not load host key: /etc/ssh_host_ecdsa_key"

2011-02-05 Thread Jeffrey J. Kosowsky
Just loaded a fresh version of Cygwin-1.7 on a new machine and ran ssh-host-config without any problems. However it keeps failing to start up. The log shows: Could not load host key: /etc/ssh_host_ecdsa_key The config file /etc/sshd_config has the lines: #HostKey /etc/ssh_host_dsa

Re: How to run bash shell script in cygwin?

2011-02-05 Thread Jose.Torres
Hi myuser01, On a bash or similar shell, you need to include the location to the executable file in order to execute it. If the executable directory is not in one of your bin folders you can execute it as part of your PATH. try the following: $ pwd $ echo $PATH $ export $PATH=$PATH;`pwd` Oth

getopt -- just a nit

2011-02-05 Thread L Anderson
This is just a small nit that, I suppose, is for the maintainer of 'getopt'. In "/usr/share/getopt", resides the file: 'getopt-parse.bash'. Line 9 of that file is: '# ./parse.bash -a par1 'another arg' --c-long 'wow!*\?' -cmore -b " very long"' which, in a moment of haste, led me to think

Re: sigsegv in compiled cygwin

2011-02-05 Thread Christopher Faylor
On Sat, Feb 05, 2011 at 02:35:41PM -0500, Christopher Faylor wrote: >On Sun, Feb 06, 2011 at 03:12:51AM +0900, jojelino wrote: >>i found small piece of code that need some comment. >> >>from trunk >> >> int (*wsastartup) (int, WSADATA *); >> >> /* Don't use autoload to load WSAStartup t

Re: sigsegv in compiled cygwin

2011-02-05 Thread jojelino
Why the typedef? cgf int __stdcall (*wsastartup) (int, WSADATA *); /* Don't use autoload to load WSAStartup to eliminate recursion. */ wsastartup = (int __stdcall (*)(int, WSADATA *)) GetProcAddress ((HMODULE) (dll->handle), "WSAStartup"); adding __stdcall to

Re: sigsegv in compiled cygwin

2011-02-05 Thread Christopher Faylor
On Sun, Feb 06, 2011 at 03:12:51AM +0900, jojelino wrote: >i found small piece of code that need some comment. > >from trunk > > int (*wsastartup) (int, WSADATA *); > > /* Don't use autoload to load WSAStartup to eliminate recursion. */ > wsastartup = (int (*)(int, WSADATA *)) >

Re: Cygstart through SSH tunnel

2011-02-05 Thread davej1983
Thanks for your help, and I will definitely look into Cygwin/X. However, from the way you explained it, I'm not sure if I clearly explained what I was trying to do. I'm not actually trying to get the file to open on my local computer, rather I am trying to get them to open/execute on the remote c

Re: sigsegv in compiled cygwin

2011-02-05 Thread jojelino
i found small piece of code that need some comment. from trunk int (*wsastartup) (int, WSADATA *); /* Don't use autoload to load WSAStartup to eliminate recursion. */ wsastartup = (int (*)(int, WSADATA *)) GetProcAddress ((HMODULE) (dll->handle), "WSAStartup

[ANNOUNCEMENT] Updated: coreutils-8.10-1

2011-02-05 Thread Eric Blake (cygwin)
An updated package, coreutils-8.10-1 release has been uploaded and will soon reach a mirror near you, leaving coreutils 8.8-1 as previous. NEWS: = This is a new upstream release, with upstream details listed below. If you encounter a regression, please report it here rather than upstream. Se

Re: Cygstart through SSH tunnel

2011-02-05 Thread mike marchywka
I would mention that there are usually alternatives, in this case vi, but often graphically oriented programs have command line modes for non-interactive usage and they act sanely in headless mode. Sometimes it is nice to have notepad but I've found that usually vi works fine esp in combination wi

Re: Cygstart through SSH tunnel

2011-02-05 Thread Andrew DeFaria
On 02/04/2011 10:00 PM, davej1983 wrote: Hi, I'm fairly new to Cygwin, so this might be a pretty simple question, but so far I haven't had any luck finding an answer so far. I have an SSH server running on a remote computer, that I can log into using cygwin. While logged, if I use cygstart to tr