This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: compiling and running ssh-1.2.20 with b18
- To: ogre at aa dot net
- Subject: Re: compiling and running ssh-1.2.20 with b18
- From: Home user <home at morla dot crec dot mipt dot ru>
- Date: Sun, 18 May 1997 17:09:18 +0400 (MSD)
- Cc: gnu-win32 at cygnus dot com
Joe Rumsey wrote:
> I've actually got ssh working, albeit with some warnings from cygwin.dll
> about various things, but I did have to work around a few things in the
> ssh code:
[xxx]
> 4) It tries to read the password upon connecting from /dev/tty, but
> never reads anything. Luckily it includes code to read from stdin
> instead, which works just fine.
Same problem. But I managed to trick it to work.
The changes are in tio.c_lflag settings : one need to add
tio.c_lflag |= ICANON | ISIG;
before calling tcsetattr() for non-echoed input, otherwise it would
hang. Works for me (for 3 days).
Any ideas why it is not needed for Linux-based compilations, anyone?
> There are probably some other quirks, I've barely tested it, but the 4
> above are what I had to fix to get a basic connection up and running.
>
> The version of ssh used is 1.2.20. The ssh home page is
> http://www.cs.hut.fi/ssh
>
> Joe
--
Igor V. Kovalenko mailto:iko@crec.mipt.ru
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".