Posts Tagged ‘ssh’

MOTD: edit your server’s shell greeting

Sunday, September 17th, 2006

Share your wit and wisdom. Impart your knowledge to others. Graphically insult your friends and coworkers! Use a text editor like vim to edit /etc/motd.

sudo vim /etc/motd

Replace whatever default text that’s there with your ardent wish that your coworker violently suck their own balls. The next time they shell in to the server, that special message will be there for them.

Yay.

Secure proxy tunnelling with SSH and Squid

Wednesday, May 17th, 2006

Web filters are retarded. The only times I ever butt against a company’s web filter seem to be when in search of legitimate, non-offensive information. I’m not into breaking the law. I’m not into downloading porn at work. Why penalize me when I try and look up some technical information because an application like SmartFilter or SonicWall considers some geek’s tutorial on getting an Open Source application up and running, “Free Software/Downloads—Forbidden”, even though no actual software or source code is stored on the site? Or blocking a website as pornography because the author of the page has the unfortunate last name of “Dyke”. SmartFilter kind of seems like one big oxymoron. Perhaps StupidFilter is more appropriate. I could give a rat’s ass whether it kept kids away from pornography, all I know is that it often keeps me from accessing harmless, legal and innoffensive information—usually technical in nature. Fuck that.

Sick of being hamstrung by obtuse internet filters I set up a proxy on my server using squid that I tunnel to via SSH. Once connected, I bypass all web filtering wherever I am and as a bonus, all information sent to and from my browser and my server is encrypted and therefore private to anyone snooping on the local network. Here’s how.

(more…)