Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject:
PostPosted: Thu Jul 08, 2010 7:06 pm 
Offline
Junior Member

Joined: Mon Dec 28, 2009 2:52 pm
Posts: 29
vonskippy wrote:
I'm doomed. :roll:


Way to miss the point dude. I'm not saying that moving the ssh port is harmful. But that it's the sort of meaningless security measure you should steer newbies who wish to secure their systems away from, and instead suggest things that will actually increase their security.


Top
   
 Post subject:
PostPosted: Thu Jul 08, 2010 8:33 pm 
Offline
Senior Member

Joined: Fri Dec 07, 2007 1:37 am
Posts: 385
Location: NC, USA
Ævar Arnfjörð Bjarmason wrote:
vonskippy wrote:
I'm doomed. :roll:


Way to miss the point dude.

But you have to admit, he really is doomed ;)


Top
   
 Post subject:
PostPosted: Thu Jul 08, 2010 9:57 pm 
Offline
Senior Member

Joined: Sun May 23, 2010 1:57 pm
Posts: 315
Website: http://www.jebblue.net
I'm also with vonskippy. Reducing log clutter and reducing bandwidth usage are two good reasons I can think of to keep SSH off port 22. It's a pain to type -p nnn but not that bad. I've had zero connection issues and I've been doing it since 2004.


Top
   
 Post subject:
PostPosted: Fri Jul 09, 2010 3:13 am 
Offline
Senior Member
User avatar

Joined: Sun Mar 23, 2008 10:10 am
Posts: 71
Website: http://frontseed.com/
Ævar Arnfjörð Bjarmason wrote:
Way to miss the point dude. I'm not saying that moving the ssh port is harmful. But that it's the sort of meaningless security measure you should steer newbies who wish to secure their systems away from, and instead suggest things that will actually increase their security.


I agree in your point where newbies have to understand that moving ssh ports is not really for securing a system but to ease up administration (reducing log clutter, bandwidth, peace of mind, etc)

OTOH I have never had any connection issues to non-standard ssh ports yet. Also, I use ~/.ssh/config to avoid typing -p ## all the time (and of course many more options in there).


Top
   
 Post subject:
PostPosted: Fri Jul 09, 2010 4:03 am 
Offline
Newbie

Joined: Thu Jul 08, 2010 11:30 am
Posts: 3
Thanks for all the replies! Very much appreciated!

I turned off passwords and moved to public key authorization.
I found that the LAMP server had suhosin already after all, saved me some time.
Activated the limit function in UFW to ban IPs with multiple failed logins.
Installed logwatch, it seems to do reports via e-mail so I guess I need to open holes in the firewall for that... Would allow smtp be enough?

I still couldn't get ssh to work over a custom port but it may have something to do with the firewall on my local machine, I'll investigate it further but if I understand correctly then when using key authorization it may not be that urgent.

vonskippy wrote:
How are you running phpmyadmin? It's a very popular (and successful) attack vector.


Not really sure what you mean by "how" I run it? I have since (based on jlevandowski's suggestion, thanks!) changed it to run over HTTPS. I also put all of it behind an .htaccess password, I figured that you'd have to crack that password before you can see that the server is running phpmyadmin at all. Famous last words, I know, but at least it's not immediately obvious to the casual observer.


Top
   
 Post subject:
PostPosted: Fri Jul 09, 2010 4:10 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
My personal preference for running phpmyadmin is restricting it to the local host then connecting via a ssh tunnel.


Top
   
 Post subject:
PostPosted: Fri Jul 09, 2010 5:17 am 
Offline
Senior Newbie
User avatar

Joined: Mon Jun 28, 2010 11:04 pm
Posts: 14
Website: http://johnlevandowski.com/
Location: Salt Lake City, UT
Quote:
Installed logwatch, it seems to do reports via e-mail so I guess I need to open holes in the firewall for that... Would allow smtp be enough?


You don't need to open a hole in the firewall for this. However you do need postfix (or similar so that mail can go out from your server).


Top
   
 Post subject:
PostPosted: Fri Jul 09, 2010 12:00 pm 
Offline
Newbie

Joined: Thu Jul 08, 2010 11:30 am
Posts: 3
Thanks, I got it working after I fixed some errors in the postfix config on one server.

I also restricted access to the phpmyadmin site to my own IP as well, starting to feel pretty good about it all now, let's hope it lasts. :)

Cheers!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group