I've been using the standard terminal-based ssh client that ships with OS X (10.5.8) without any problems for years now, and suddenly it has stopped working and I can't figure out why.
I try to login to any server via a typical SSH command, but it seems like a connection attempt is never made. I use the Little Snitch network monitor, and I'm seeing absolutely no traffic coming from ssh/terminal when I type in the SSH command.
I've tried via hostname and by IP address, and nothing. It seems that the DNS lookup happens correctly because when I use the hostname it resolves it to the correct IP address. But then nothing happens.
When I run ssh with the -v flag, here's what I get for output (host names and IPs redacted for safety):
$ ssh -v email@example.com OpenSSH_5.2p1, OpenSSL 0.9.7l 28 Sep 2006 debug1: Reading configuration data /etc/ssh_config debug1: Connecting to hostname.domain [correct_ip_address] port 22. debug1: connect to address correct_ip_address port 22: Operation timed out ssh: connect to host hostname.domain port 22: Operation timed out
The odd bit is that this seems to have just happened randomly, not after a software update or system change of any sort. I'm not having any other networking issues, and a traceroute to the hostname works just fine.
Completely at a loss here. Not sure where to look or what could possibly be causing this problem.
EDIT: Solved — it was a routing issue. Not sure exactly what, but restarting the main router of the network I'm on fixed it.