Many technical answers have been given. I would suggest starting with some simple debugging.
These days, a lot of distros don't have 'telnet' installed because it's considered insecure. And they're not wrong - but it's also very useful for debugging. So install it if it's not available. Then try the above command line, which asks telnet to try to connect to
dreamhost.com on port 22 (which is the standard SSH port). (You should use whatever host name you would normally SSH to, which may be "
someotherhost.dreamhost.com.") This is a connection that can't be completed, but it can still tell you something. If someone in between is blocking port 22 (most likely Bell, but could be any intervening firewall possibly on your own machine or at your office), this attempt will fail entirely. If, however, port 22 is available, you should see something like this:
Trying 192.237.213.194...
.
Escape character is '^]'.