- Posts: 45
- Thank you received: 0
How do I remove remote root logins on Linux Fedora core 2
19 years 9 months ago #7364
by jacko0
Replied by jacko0 on topic Re: How do I remove remote root logins on Linux Fedora core 2
Thanks guys, Its working very well now!
I even have got the ssh keys working.
Only problem now is that the ssh logon will still ask for a password if a key is not present when logging on.
I wanted it to refuse all connection's without the correct ssh key.
(No passwords only keys)
I even have got the ssh keys working.
Only problem now is that the ssh logon will still ask for a password if a key is not present when logging on.
I wanted it to refuse all connection's without the correct ssh key.
(No passwords only keys)
19 years 9 months ago #7377
by sahirh
Sahir Hidayatullah.
Firewall.cx Staff - Associate Editor & Security Advisor
tftfotw.blogspot.com
Replied by sahirh on topic Re: How do I remove remote root logins on Linux Fedora core 2
Hmm there is some authtype setting in the sshd config file.. err I dont remember right now, but its something about what authentication mechanisms are allowed....
a quick search through the man page or google will tell you what it is.
Public key / private key = good.
Cheers,
a quick search through the man page or google will tell you what it is.
Public key / private key = good.
Cheers,
Sahir Hidayatullah.
Firewall.cx Staff - Associate Editor & Security Advisor
tftfotw.blogspot.com
19 years 9 months ago #7381
by jacko0
Replied by jacko0 on topic Re: How do I remove remote root logins on Linux Fedora core 2
Hey you guys are THE BEST!!
I found it in the "sshd_config" file right their like u said.
I changed it to the following and now, the user MUST use a key or the ssh terminal exits!!
WHoooo Hoooo (I am one happy man!)
# To disable tunneled clear text passwords, change to no here!
PasswordAuthentication no
PermitEmptyPasswords no
I found it in the "sshd_config" file right their like u said.
I changed it to the following and now, the user MUST use a key or the ssh terminal exits!!
WHoooo Hoooo (I am one happy man!)
# To disable tunneled clear text passwords, change to no here!
PasswordAuthentication no
PermitEmptyPasswords no
Time to create page: 0.129 seconds