delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Subject: | 1.5.25-15: Missing shell prompt when connecting remotely via ssh using putty. |
Date: | Tue, 25 Nov 2008 14:07:09 -0500 |
Message-ID: | <3BE5F00EB911894AA1B8A87693BC2484F721@srvr01.THELOONIE.local> |
In-Reply-To: | <492C407E.5050801@hotmail.com> |
MIME-Version: | 1.0 |
References: | <492C407E DOT 5050801 AT hotmail DOT com> |
From: | "Andrew" <andrew AT theloonie DOT com> |
To: | <cygwin AT cygwin DOT com> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id mAPJ8KXn012098 |
I get this after a clean install and I get it every time. Running Win'2003 server. I've followed a few guides on setting up ssh on cygwin and I have no problems running it as a service. Reinstalling cygwin causes same issue. administrator AT server ~ $ ssh localhost administrator AT localhost's password:******* or via putty I'll get the same but I'll also get: Last login: Tue Nov 25 13:59:46 2008 from 127.0.0.1 ...and that's all I see after that. I can't cursor up to use a command from history. And using vim results in: vim Vim: Warning: Output is not to a terminal Vim: Warning: Input is not from a terminal So I can connect and login, nor can I edit files properly. It's as if the environment is not set correctly. I set CYGWIN=ntsec tty binmode in Win'2k3 System Properties. Running the Cygwin icon on the server's desktop gets me into bash no problem, with the prompt, colors and alias' working. Via Putty, or simply doing a 'ssh localhost' locally through Cygwin on the server, causes the same problem so it's not a putty issue. I noticed when running ssh-host-config....(I answered yes to everything except renaming the suggested privileged user)...it asks: 'Enter the value of CYGWIN for the daemon [ntsec]:' the guides all say to enter ntsec tty or ntsec tty binmode but if I enter them I get: *** ERROR: Only [no] "check_case:strict" "ntsec" "smbntsec" "traverse" allowed. So I just enter ntsec (though it will accept tty ntsec too, in that order). I suspect this is a new version of openssh. I tried forcing an older installation but same thing. This is the guide I followed: http://ist.uwaterloo.ca/~kscully/CygwinSSHD_W2K3.html The only things I had to adjust for the guide to work was: chmod +r /etc/passwd, chmod +r /etc/group and chmod 777 /var Oh, and I had to remove everything from hosts.allow and hosts.deny. I intend on setting it properly once I fix the shell prompt problem. This was working fine at one point but I've had this problem for about 8 months now. Nobody else seems to have had this problem according to google or cygwin mailing list. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |