Forum

SSH keys, a Linux q...
 
Notifications
Clear all

SSH keys, a Linux question

0 Posts
2 Users
0 Reactions
160 Views
(@jcelle)
Active Member
Joined: 21 years ago
Posts: 6
Topic starter  

Hello,
Thank's to some previous posts in this forum about SSH keys I have been able to connect to my RedHat 9 ssh server using keys.
Now I would like to disable root login with the password method. This is clearly a Linux/sshd question. I have tried to set PermitRootLogin to without-password in the /etc/ssh/sshd_config file but I can still log in using the password method.

Has anyone already tried this ?
Many thank's.

[size=1][ December 27, 2004, 05:49 PM: Message edited by: Brian T. Pence ][/size]


   
ReplyQuote
(@bpence)
Member Admin
Joined: 9 months ago
Posts: 1374
 

Jerome,

The without-password option *should* work. Make sure you restart the sshd server so it re-reads the config file.

Brian


   
ReplyQuote
Share: