Mr.Jason wrote:
> I get NUMEROUS amounts of "failed password for root" messages in my www
> servers logfile. So I think someone is trying to connect to it via SSH and
> trying different passwords and its not surely me.
> My password is such they cant guess but I'm still little worried. If not
> else, then the size of my logfile!
>
> But there's nothing I can do, maybe, except disable SSH but I dont want to
> do that..
>
To get the connection to your other thread: thats not an attack, its
"noise". Every ssh-daemon on my servers is tested all the time.
Automated bots do this when they are bored (cause they dont have to run
a DDOS-attack)
The messages should appear in your ssh-logs and not in your www-logs
when its from sshd.
If its in your www-logs, then its testing your www-server.
It could also be an attack against your ftp-server (if you run one) and
then its more serious, cause most ftp-servers are much weaker than
openssh or apache. Thats why scp is much better than ftp if you are the
only user on your server.
best,
peter
ps: imho ssh is not vulnerable against brute-force, cause the
network-negotiation takes to much time. ssh is vulnerable against social
engeneering if password-auth is enabled.
I do not use ip-ranges or key-only on my sshd, causes sometimes you need
to access from somewhere where you dont have your key with you. And
carrying the key all the time is a bad idea for people like me, cause I
tend to loose things. And a lost private-ssh-key is vulnerable against
brute-force and dictionary-attacks again.
--
http://www.goldfisch.at/know_list