Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jul 2007 22:12:40 -0400
From:      Schiz0 <schiz0phrenic21@gmail.com>
To:        "Huy Ton That" <huyslogic@gmail.com>
Cc:        questions@freebsd.org
Subject:   Re: sshd config config file question
Message-ID:  <8d23ec860707101912h141af233x90835850c08e59db@mail.gmail.com>
In-Reply-To: <1cac28080707101023x3e310aebo8f81aeaf22e6e5f2@mail.gmail.com>
References:  <1cac28080707100837g5591146xfc7dd68e1847178@mail.gmail.com> <57d710000707101004k66f5d9d2g45e353cd10b0965d@mail.gmail.com> <1cac28080707101008xc21a300k181a064a03b68d7d@mail.gmail.com> <57d710000707101018u5d251378lec69b3f1c4bbc534@mail.gmail.com> <1cac28080707101023x3e310aebo8f81aeaf22e6e5f2@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 7/10/07, Huy Ton That <huyslogic@gmail.com> 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 <nomadlogic@gmail.com> wrote:
> >
> > On 7/10/07, Huy Ton That <huyslogic@gmail.com> 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



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