From owner-freebsd-questions@FreeBSD.ORG Wed Jul 11 02:39:14 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6BC8116A400 for ; Wed, 11 Jul 2007 02:39:14 +0000 (UTC) (envelope-from schiz0phrenic21@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.177]) by mx1.freebsd.org (Postfix) with ESMTP id 4633713C44C for ; Wed, 11 Jul 2007 02:39:14 +0000 (UTC) (envelope-from schiz0phrenic21@gmail.com) Received: by wa-out-1112.google.com with SMTP id j37so2126282waf for ; Tue, 10 Jul 2007 19:39:14 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=iZYKt0yy/HoAy6Y3pzI0zIRets6ub/4XAJnWRFURTrwX0kc5PdBzL/Id16LMvbe1ylb4Vw+zW5g0H59+aI/0nIo9eBEv6EC3FltXMWTd0lP6ywjjFOxx1VHoTa1rXt2kLa0q5bmms3QqkCp/CVxRiemVBhsR2pT4B8sa7Qfy5Yc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Xi5qR6CE9L/Jy+AYMQIoL6Bre/9DJ3NDIFRbMnQdx+vwcTcZHBWihf1MjcGB7Mnud8amLh2++GOQO1rO5i4JAhvTWset8wANAJddTQPUQqA0N/W/r2ykSdtWn/M6vOVy4F2u7yfkYh9YNSDGR/g4KIo4Us7dNMlEA+hqDISjJz8= Received: by 10.115.89.1 with SMTP id r1mr4709229wal.1184119965281; Tue, 10 Jul 2007 19:12:45 -0700 (PDT) Received: by 10.114.46.16 with HTTP; Tue, 10 Jul 2007 19:12:40 -0700 (PDT) Message-ID: <8d23ec860707101912h141af233x90835850c08e59db@mail.gmail.com> Date: Tue, 10 Jul 2007 22:12:40 -0400 From: Schiz0 To: "Huy Ton That" In-Reply-To: <1cac28080707101023x3e310aebo8f81aeaf22e6e5f2@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1cac28080707100837g5591146xfc7dd68e1847178@mail.gmail.com> <57d710000707101004k66f5d9d2g45e353cd10b0965d@mail.gmail.com> <1cac28080707101008xc21a300k181a064a03b68d7d@mail.gmail.com> <57d710000707101018u5d251378lec69b3f1c4bbc534@mail.gmail.com> <1cac28080707101023x3e310aebo8f81aeaf22e6e5f2@mail.gmail.com> Cc: questions@freebsd.org Subject: Re: sshd config config file question 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: Wed, 11 Jul 2007 02:39:14 -0000 On 7/10/07, Huy Ton That wrote: > The daemon is up and has been up for a long time. In fact, when I made these > changes to sshd_config, for instance as a test maxauthtries to 3 I also > reloaded it during a ssh terminal session. After which I logged back in and > as a test, purposely errored the tries; it still defaulted to 6 despite the > sshd_config file change and reloading. > > when I say I get no message I mean to state as such: > > $/etc/rc.d/sshd status <--carriage return > $ <--no message after return. > > Thanks Pete. > > -Huy > > On 7/10/07, pete wright wrote: > > > > On 7/10/07, Huy Ton That wrote: > > > No, it was unhashed. Thanks for pointing it out though. But the strange > > > thing is when I run: > > > > > > /etc/rc.d/sshd status > > > > > > I get no message > > > > > > No message for start, restart, reload etc. I am performing these > > commands as > > > root. > > > > > > Any ideas? > > > > > > > > > > > (couple things, please don't top post, and be sure to keep > > questions@freebsd.org cc'd on this thread so others can help you) > > > > i'm not sure what you mean about "no message". make sure you have > > sshd_enabled="YES" in your /etc/rc.conf. > > > > also check to see if sshd is running by using "ps". if it is not, try > > starting it by hand - this will tell you if there are any errors on > > startup. once it starts cleanly by hand then use the init script in > > /etc/rc.d/sshd. > > > > the man page for sshd is very helpful, and should answer many of the > > questions you may have - including how to start the daemon by hand, > > etc.. type: > > man sshd > > > > -p > > > > > > > > > > -- > > ~~o0OO0o~~ > > Pete Wright > > www.nycbug.org > > NYC's *BSD User Group > > Your PAM config may be overriding SSH's config (For the ignoring MaxAuthTries option). It sometimes does that, depending on how the login type is set up in the sshd_config file. Check your PAM config