Portal Home > Knowledgebase > Articles Database > ssh locked me out ... help
ssh locked me out ... help
Posted by boxer, 09-12-2008, 09:32 AM |
alot of problem these days ..
i added 1 user in my ssh login with wheel permission ...
and i think i change some files in .bash_profile for the path$
and change the port from "425" to "22" but i didnt change the protocol to 2 it was 2,1 ..
so how can i resolve this problem please ?
|
Posted by boxer, 09-12-2008, 10:05 AM |
i can login to my ssh through anyuser else the root and the other account ! through the 22 port ..
then i tried alot to connect via root .. i got anew mail included this subject "Brute Force Warning for your server"
The following is a summary event for exceeded login failures on ip.secureserver.net:
SOURCE ADDRESS: 212.38.145.96
TARGET SERVICE: sshd
FAILED LOGINS: 15
EXECUTED COMMAND: /etc/apf/apf -d 212.38.145.96 {bfd.sshd}
SOURCE LOGS FROM SERVICE 'sshd' (GMT -0700):
and i try to su root when i logged via that account but passwd
wrong gives me ...
regards
|
Posted by boxer, 09-12-2008, 10:52 AM |
The problem Fixed .. but here how its Done
if you go here
http://localhost:2086/scripts2/autofixer
and type safesshrestart in the box and click submit, it will start ssh on port 22 with all default settings
So after that its restarted the port 22 and i can login fine ..
regards
|
Add to Favourites Print this Article
Also Read