MilanCole

  • Sell Your Home
  • Buy A Home
  • Client Reviews
  • Call (503) 953-3416

SSH Security Notes on CENTOS or Debian

February 2, 2012 by Milan Cole, Realtor

Administering a web server means dealing with a server that is literally constantly under attack. And having your server get hacked is certainly not a fun experience. So I make an effort to improve security where possible. Here are my quick and dirty notes on securing SSH on a new server.

First, we add a non-root user:

adduser myusername

And set a password for our new user:

passwd myusername

Now we give this user permission to gain root access.

vi /etc/sudoers
And insert the line
myusername ALL=(ALL) ALL

This allows us to disable root login in the sshd config.

vi /etc/ssh/sshd_config
And uncomment the following line.
PermitRootLogin no

I also suggest using key based authentication so you can disable password logins to ssh completely. For more info on doing this, go to :
http://www.howtoforge.com/ssh_key_based_logins_putty

Monsoon India has amazing lighting

December 26, 2011 by Milan Cole, Realtor

20111226-210143.jpg

Dinner at sunset in Maui

December 12, 2011 by Milan Cole, Realtor

20111212-182929.jpg

Day 1 at WordCamp

September 17, 2011 by Milan Cole, Realtor

Scott Berkun from automattic is talking about blogging every day and how he and the wordpress development team are starting to do this internally. It’s a great practice which he calls dogfooding; I love this word. The great part about this is that when developers use their own products then they get better, faster, because they experience the same frustrations that we as users do. More dogfooding please 🙂

Evan Soloman is talking about a/b testing. He ended with a note that a .org plugin is forthcoming. Exciting.

Diigo for Organizing Web Research

September 14, 2011 by Milan Cole, Realtor

I just tried Diigo which is a web-based tool to organize information found on the web. I know, it sounds like a mouthful. Anyway, I created my homepage and it appears that this tool is the evolution of social bookmarking tools. It allows you to mix bookmarks with your own notes and images. Seems like it would be most useful as a tool for academic type research projects.

Breitenbush Hot Springs Is A Great Way to Unplug

September 9, 2011 by Milan Cole, Realtor

You know you are a little too wired when you need to go somewhere with no cell phone service and no Internet to fully unplug, but thanks to the mellow folks at Breitenbush Hot Springs that is exactly what I did this weekend. Miles of hiking, hours of soaking in hot tubs, and good vegetarian food that I didn’t have to cook and clean up; the cabins here are an excellent way to go Glamping!

  • « Previous Page
  • 1
  • 2
  • 3
  • 4
  • 5
  • Next Page »
(C) Milan Cole, 2016, All Rights Reserved.
JMA Properties, 205 SE Spokane St., Suite 300, Portland, OR 97202

Copyright © 2023 · Winning Agent Pro Theme on Genesis Framework · WordPress · Log in