CentOS sshd_config has locked out sftp users

view story

http://serverfault.com – I've been trying to increase the security of my CentOS web server. Firstly I set-up two accounts via WHM, let's call them user1 and user2 which both have sftp access, these both host different sites which I want on different ip so explains the separation. I then wanted to disable root access for security and setup a top account called mainuser Changes I've made Setup new user and changed password /usr/sbin/adduser mainuser passwd mainuser Updated visudo #root ALL=(ALL:ALL) ALL mainuser ALL=(ALL:ALL) ALL Updated sshd_config Port 25000 #not actual number bu (HowTos)