You are not logged in.

#1 2006-10-09 09:10:48

Seb74
Member
Registered: 2006-10-07
Posts: 89

"PermitRootLogin no" not working

Just installed ssh to my base Arch install.
Checked the ssh_config and it was very short, some of the options you usually see seemed to not be there, like for example PermitRootLogin.

So, I added at the bottom of the file, exacly this line:

PermitRootLogin no

Hoping root-login would no longer be allowed, but it still is. Yes I've rebooted the machine, if that now is necessary but I usually do after each change to be sure.

Thanks smile

EDIT: Strange that all my installs start with lots and lots of warning about not being able to open files, getting filesizes and stuff...its like "oh no, this is NOT going to work", but then after all warnings and errors it just starts grabbing and installing. I dont get it, but I'm happy as long as it works wink

Offline

#2 2006-10-09 09:24:29

allucid
Member
Registered: 2006-01-06
Posts: 259

Re: "PermitRootLogin no" not working

you need to edit /etc/ssh/sshd_config

Offline

#3 2006-10-09 09:29:47

Seb74
Member
Registered: 2006-10-07
Posts: 89

Re: "PermitRootLogin no" not working

allucid wrote:

you need to edit /etc/ssh/sshd_config

Oops :$

Thanks smile

Offline

#4 2012-04-08 08:03:43

trusktr
Banned
From: .earth
Registered: 2010-02-18
Posts: 907
Website

Re: "PermitRootLogin no" not working

That was my mistake too.


joe@trusktr.io - joe at true skater dot io.

Offline

#5 2012-04-08 10:45:28

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: "PermitRootLogin no" not working

trusktr, you really should know: This thread is NECROOO!!!

closing...


To know or not to know ...
... the questions remain forever.

Offline

Board footer

Powered by FluxBB