ssh login unstable
Hi!
I tried today to loggin to my server (FC5) per ssh, and the server kept refusing my password until it finally accepted it, and again refused it by the next try! I don´ t get it. I must precise, that I´ve never had any ssh problem with my server so far. the passwords that I give in are correct. since today it refuses my passwords most of the time, but sometime accepts them! I have this problem with my user und with the root user. I tried the connection from 2 computers, it doesn´t change anything. Once I finally managed to logg in, I changed my user´ s password, but then I still couldn´ t login..till I suddenly managed to login again! then again not! and so on! does anyone understand the cause of the problem? are therr maybe any log files I should looks at?! hier is what I have in /var/log/Secure: Quote:
I would really appreciate any help because the problem is very preoccupying. |
I tried from a third computer at home. The 1st time it worked. Then I tried again, and it didn't accept my password anymore. At the third attempt, I got:
Quote:
and hier is ssh in verbose mode: Quote:
|
That's pretty strange. ssh either works or it doesn't, so I'd suspect a non-ssh issue.
Next time you get on, pref from local keyboard, run top and see if the system is under extreme load. The other possibility is that it's been rooted/hacked, or it's being attempted to be hacked and if you check /var/log/messages or root email, you'll find thousands of root ssh login attempts from botnets. Very common these days. It's highly recommended that you disable root ssh access and instead grant your non-root acct full access via 'sudo su -'. Ideally, also restrict range of IPs ssh will respond to. Of course, it may be none of the above... |
Quote:
in /var/lg/messages there are indeed thousand attempts to loggin as a root. But I've always seen such attempts, is one supposed to react when seeing such attempts? because there are actually continually happening. Am I suppposed to exclude the IP address (within the firewall) each time?! As soon as I managed to loggin again I'll do what you adviced me. But I can I get things back so that I do not have any loggins problems anymore? How may I prevent this in the future? I actually have configured a firewall. |
All times are GMT -5. The time now is 04:03 PM. |