If you use a router, you need to forward port 22 to the ip from your server on the router.
On the server, you need to disable the firewall, or open port 22.
Is your ssh daemon running on the server?
Can you ssh on the server itself?
on the server, open a terminal and type
Can you connect from another computer in the LAN ?
Are you connecting from the LAN to the outside and back in?
Try to connect from the outside.
You an use
http://www.t1shopper.com/tools/port-scan/
To see if your port 22 is open.
Kind regards