Hello and welcome to LinuxQuestions,
Way to little information to troubleshoot. Do you have other access to the remote server? Is it your server to which you want to connect? Can you run the following to check if the port is open and to see where the connection fails:
telnet <yourserver> 22 OR nmap -p 22 <yourserver>
ssh -v <yourserver>
and post the output here.
Looking forward to your participation in the forums. Have fun with Linux.