From owner-freebsd-questions@FreeBSD.ORG Mon Jan 9 09:59:45 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E599416A41F for ; Mon, 9 Jan 2006 09:59:45 +0000 (GMT) (envelope-from ltsampros@upnet.gr) Received: from mail.vivodinet.gr (mail3.vivodinet.gr [80.76.39.13]) by mx1.FreeBSD.org (Postfix) with SMTP id D2E9C43D46 for ; Mon, 9 Jan 2006 09:59:43 +0000 (GMT) (envelope-from ltsampros@upnet.gr) Received: (qmail 27713 invoked from network); 9 Jan 2006 09:57:21 -0000 Received: from dslcustomer-222-89.vivodi.gr (HELO bifteki.tiganaki) (83.171.222.89) by 0 with SMTP; 9 Jan 2006 09:57:21 -0000 Received: from bifteki.tiganaki (localhost [127.0.0.1]) by bifteki.tiganaki (8.13.4/8.13.4) with ESMTP id k099vED3003627; Mon, 9 Jan 2006 11:57:15 +0200 (EET) (envelope-from gaghiel@bifteki.tiganaki) Received: (from gaghiel@localhost) by bifteki.tiganaki (8.13.4/8.13.4/Submit) id k099vEQk003626; Mon, 9 Jan 2006 11:57:14 +0200 (EET) (envelope-from gaghiel) Date: Mon, 9 Jan 2006 11:57:14 +0200 From: Leonidas Tsampros To: Robert Stevenson Message-ID: <20060109095713.GA3469@bifteki.lan> References: <20060109083200.26248.qmail@web54413.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060109083200.26248.qmail@web54413.mail.yahoo.com> User-Agent: Mutt/1.5.11 Cc: freebsd-questions@freebsd.org Subject: Re: SSH problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jan 2006 09:59:46 -0000 On Mon, Jan 09, 2006 at 12:32:00AM -0800, Robert Stevenson wrote: > I'm able to log-in to my FreeBSD box using SSH just a > few days ago, but now I can't. Whenever I try I only > get to enter my username and the password prompt does > not appear anymore. It seems authentication stops > after I enter my username. I'm using PUTTY as a client > > I can login directly to the box and I could see that > SSHD is running. Any ideas what's wrong with it? > > I've encountered a similar situation some time ago with a firewall i used to run. To troobleshoot the sshd daemon, just login to your box, shut down the sshd that's running with $ /etc/rc.d/sshd stop and then run sshd in debug mode with verbose output by running $ /usr/sbin/sshd -D -f /etc/ssh/sshd_config by running this command the daemon will run but it will not detach itself in the background, but instead will output lots of debuging information. After that try to login using putty, and take a look at the last 10-20 lines of the login process. There should be enough information about the nature of the error.