Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jan 2006 11:57:14 +0200
From:      Leonidas Tsampros <ltsampros@upnet.gr>
To:        Robert Stevenson <robsworld2000@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: SSH problem
Message-ID:  <20060109095713.GA3469@bifteki.lan>
In-Reply-To: <20060109083200.26248.qmail@web54413.mail.yahoo.com>
References:  <20060109083200.26248.qmail@web54413.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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. 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060109095713.GA3469>