« October 2007 | Main | December 2007 »

November 2007 Archives

November 16, 2007

sshd listen on multiple ports

I tried to ssh into my server the other day from behind a very restrictive firewall to read my mail. I found that it wouldn't allow outgoing connections to the standard ssh port (22).

Back at home later I started thinking about installing a web mail program on the server to get around such situations, but eventually solved the problem by doing something much simpler, I configured ssh to listen to more than one port, the second port is a much more commonly allowed port like 80 or 443.

You can do this by configuring multiple Port directives in sshd_config. Don't forget to HUP the ssh daemon once you've done this for the changes to take effect.

November 18, 2007

Atheist quote

“I contend we are both atheists, I just believe in one fewer god than you do. When you understand why you dismiss all the other possible gods, you will understand why I dismiss yours.” (Stephen F. Roberts)

November 24, 2007

vim - turn off matching bracket highlight

vim highlights matching brackets which is nice until it starts becoming a pain. This in your .vimrc will turn it off:

let g:loaded_matchparen= 1

From here : http://groups.google.com/group/comp.editors/browse_thread/thread/42daad5f97aa6f13/9e140069098c7560?lnk=raot

You can still bounce between the matching brackets by pressing %.

About November 2007

This page contains all entries posted to numbersix in November 2007. They are listed from oldest to newest.

October 2007 is the previous archive.

December 2007 is the next archive.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 3.33