Forum Moderators: phranque
Failed logins from these:
a\361a/password from <snip>: 3 Time(s)
aaron/password from <snip>: 2 Time(s)
abe/password from <snip>: 2 Time(s)
....etc forever.
**Unmatched Entries**
Illegal user lpd from <snip>
Illegal user lpd from <snip>
Illegal user lpd from <snip>
....etc forever.
My question is, do I even need sshd running on my web server? I log in using webmin and don't ever telnet or ssh into the sytem. Are there any other systems which use sshd or can I just turn it off?
How about other servers (like telnet, ftpd, etc)? What is a cheap and quick way to safeguard against hacking? Firewalls, don't count, not being cheap.
Thanks for any advice.
[edited by: physics at 7:22 am (utc) on Nov. 15, 2005]
[edit reason] No specific IPs please. [/edit]
My question is, do I even need sshd running on my web server? I log in using webmin and don't ever telnet or ssh into the sytem. Are there any other systems which use sshd or can I just turn it off?
SSH is your emergency access point to your system. Webmin will only be there as long as your webserver is running, and if it decides to fail one day (it's not impossible) you'd need alternative access.
How about other servers (like telnet, ftpd, etc)?
If you don't use them, lose them.
What is a cheap and quick way to safeguard against hacking? Firewalls, don't count, not being cheap.
With SSH, a basic precaution is to turn off root logins. Every system has a user "root", which makes it a potentially easy attack vector. Before you do this, make sure there is at least one normal user with SSH access though!
Dunno whether Webmin and the like have a facility for doing this; otherwise you'll need to edit the file "/etc/ssh/sshd_config" and set the entry "PermitRootLogin no". Then restart the SSH daemon with "rcsshd reload" (all this logged in as root - I'd experiment with a test system first if you've never done this kind of thing before).
I'm going to talk to my host and see if they can help me setup Bastille.
I'll also look into turning off sshd for root and setup one emergency account with a strong password. Probably will end up turning off ftpd, telnet, etc. Does anyone know how webmin is able to access the server? Does it use any of these servers?
I find webmin really useful in administrating my server. I don't think I would be able to get much done without it. Does anyone know of ways to make it more secure?