Change localhost to 127.0.0.1 and it should work. 🙂
If that doesn’t solve it, problem might be in sshd_config or authorized_keys2 – Metawerx Wiki: SSHTunnelTroubleshooting.
The website is up, and running on a brand new OS – Ubuntu 9.04 Server. Supercool to configure, has pre-configured LAMP, OpenSSH out-of-the-box.
Using the UFW was too easy than messing with iptables, or routing.
Feeling great having refreshed up my home server with a mature OS.
Phew, got a LOT of ssh brute-force attacks here. Have setup sshfilter. Let’s see how many does that keep out!
http://www.la-samhna.de/library/brutessh.html#5