I'm new to using ssh and related technologies, so it's very possible I'm not understanding something basic. (This also might be a question for Server Fault instead....not sure.)
I'm trying to ssh into a web server (that I own) and the connection is never established due to timeout.
~ $ ssh -vvv DOMAIN.com OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011 debug1: Reading configuration data /Users/USER/.ssh/config debug1: Reading configuration data /etc/ssh_config debug1: /etc/ssh_config line 20: Applying options for * debug1: /etc/ssh_config line 102: Applying options for * debug2: ssh_connect: needpriv 0 debug1: Connecting to DOMAIN.com [184.108.40.206] port 22. debug1: connect to address IPADD port 22: Operation timed out ssh: connect to host DOMAIN.com port 22: Operation timed out
My first thought was that I had somehow specified the domain wrong, or that something was wrong with my site. So I tried connecting to the same domain via FTP, and that worked fine (was prompted for user name):
~ $ ftp ftp> open (to) DOMAIN.com Connected to DOMAIN.com. 220---------- Welcome to Pure-FTPd [privsep] [TLS] ---------- 220-You are user number 2 of 50 allowed. 220-Local time is now 12:47. Server port: 21. 220-This is a private system - No anonymous login 220-IPv6 connections are also welcome on this server. 220 You will be disconnected after 15 minutes of inactivity. Name (DOMAIN.com:USER):
So then I thought maybe I was just using SSH wrong. I started watching this tutorial video. At about 1 minute in he does
ssh email@example.com and gets a username prompt, but it gives me the same timeout as above. I then tried
ssh google.com which does the same.
ssh localhost, on the other hand, works fine. So the problem seems to be something to do with SSH requests over a network.
My next thought was that it may be a firewall issue. I do have Sophos installed on this machine, but according to my administrator it "should not" block outgoing SSH requests.
Can anyone help figure out why this is happening?