Keep an eye on your SSH server with this short command.

Oct 11

Setting up and running your own little SSH server is not really hard. Just punch in sudo apt-get install openssh-server on your Ubuntu command line and you’ll have a server that allows you to run remote commands, send over files via SFTP or even forward graphical applications over X-Forwarding.

R2

But when you open up a window to the internet, it might be a good idea to keep an eye on any nosy people who might come knocking. A good tip is NOT to run your server on the default port (22) and poke it up to a random port over 1024 so it won’t  be obvious to any scriptkiddie you are running an SSH server. But just to be safe its nice to keep an eye out too. Every system access is logged in /var/log/auth.log but there is a ton of info in here. But with this one simple command you can not only sort out the messages that talk about your SSH server, you can also “follow along live”

sudo tail -F /var/log/auth.log | grep sshd

The output will generate a cool scrolling textfile with all the failed and approved login attempts, the usernames of who is loggin in and when they connect and disconnect.  The command is simple .. but the output might be just what you need. 

Related Posts

kw402 : Talking Ubuntu 12.10 with Popey

Oct 11

We take a good look at the hubbub around Ubuntu 12.10 with Mister Alan Pope. Canonical employee deluxe and host on the UUPC podcast. We try to find out whats awesome about Ubuntu, Who is Who in the world of benevolent dictators, New features in the upcoming Ubuntu release and the difference between Youzeewoozees and Tweakyweekees  

Shownotes.

Related Posts


#KWPOW : Jay’s Sliders World

Oct 02

This weeks picture of the week comes from listener Jay as he shows us a cross-platform setup that would probably rip a hole inside a proprietary universe. However it does make us proud as Jay lines up his Windows phone, his Nexus tablet and his 13 inch Macbook pro running Ubuntu 12.04. Quite a setup if you also consider that Jay manages to “slide” his productivity from OS to OS without breaking a sweat. 

jays Setup

Do YOU have a picture you want to share with us ? Feel free to tagg it #kwpow on twitter or shoot us the link via the well known email address. 

Related Posts