I am trying to access my sql server through SSH but without much joy.

My SQL 2005 server is on a local ip of 192.168.1.5. My SSH server is on 192.168.1.7 which i access through port 22 via dyndns. I tunnel in and setup port forwarding in putty as follows

L1433 192.168.1.5:1433 and then point my connection string to (local)

However when i try to create a connection i get PreHandshakeLogin() Failiure. Do I need to setup some ip table routing to make this work? please be verbose with your replies as I am quite new to this.