Re: sshd not working

From: SEND NO SPAM (spam_at_dodgeit.com)
Date: 04/16/05


Date: Sat, 16 Apr 2005 04:00:15 GMT

Bob Tennent wrote:
> On Fri, 15 Apr 2005 16:12:46 +0200, Mihai Osian wrote:
> > Bob Tennent wrote:
> >
> >>I installed Fedora 3 on a friend's computer. It's working fine but I
> >>thought I would set up remote access for myself to clear up any problems
> >>that might arise. The computer is on a local network behind an ADSL
> >>modem configured as a firewall and router. So I configured the router to
> >>forward port 22 to the Linux box. I believe I can reach the Linux box
> >>because I get a password dialogue. But it's not accepting what I know is
> >>the proper password. I haven't changed the default /etc/ssh/sshd_config.
> >>The sshd daemon is running. What have I forgotten?
> >>
> >
> > If you are trying to log-in as root you need to set "PermitRootLogin
> > yes" in /etc/ssh/sshd_config, otherwise you get exactly what you describe.
>
> Thanks. The default sshd_config has
>
> #PermitRootLogin yes
>
> which is *supposed* to mean that the default is yes but I guess it's
> conceivable that it's lying.
>
> Bob T.

see the # at the beginning
that means anything after it is a comment
remove it if you really want ot allow root access