kr6511292
August 12th, 2013, 05:44 AM
So I setup a server from my Ubuntu 13.04 desktop. The only traffic my router is setup to forward to the server is SSH, Apache, and Tomcat (22, 80, and 8080). I setup key only ssh authorization and disabled root logins. I have a couple questions.
To get putty to connect to my box with key's the guide I followed told me to disable PasswordAuthentication and UsePAM. Disabling the first is fine, but it my server won't let me connect with keys if I disable UsePAM. Why would this be?
Secondly, and most important is I can see from my logs all the user names the hacker/bot is trying to use. The message is something like this
Received disconnect from *: 11: Bye Bye [preauth]
Does this mean my key only setup is working as expected and how can I further protect myself?
To get putty to connect to my box with key's the guide I followed told me to disable PasswordAuthentication and UsePAM. Disabling the first is fine, but it my server won't let me connect with keys if I disable UsePAM. Why would this be?
Secondly, and most important is I can see from my logs all the user names the hacker/bot is trying to use. The message is something like this
Received disconnect from *: 11: Bye Bye [preauth]
Does this mean my key only setup is working as expected and how can I further protect myself?