title: Mac SSH Connection Timeout To Other Computers
body: <p>When I woke up today my mac can not ssh into any computer on my home network, I receive the <code>ssh: connect to host IP_ADD port 22: Operation timed out</code>. I was just using ssh last night and did not change any configurations, all I did was use the mac to ssh into two machines and tell one tell one to rsync to another. I am running OSX 10.14.1 Mojave.</p>
  
  <p>I am still able to ssh into my cloud server using my Mac:</p>
  
  <pre><code>ssh root@cloud_server_ip 
  Last login: Sun Nov 25 07:06:13 2018 from my_ip_address
  root@cloud_machine:~# 
  </code></pre>
  
  <p><strong>*So it seems to be an issue on my local network. When I log into my Linux computers, they are able to ssh into each other. The problem is related to the Mac and ssh on my local network only *</strong></p>
  
  <p>I tried diagnosing some online help already to make sure it was looking on port 22, so I will post some outputs of those commands below. In addition, I've restarted my computer 4 times and restarted the linux machines I want to remote into. </p>
  
  <p>using <code>ssh -v user@ip</code></p>
  
  <pre><code>OpenSSH_7.8p1, LibreSSL 2.7.3
  debug1: Reading configuration data /etc/ssh/ssh_config
  debug1: /etc/ssh/ssh_config line 48: Applying options for *
  debug1: Connecting to IP [IP] port 22.
  ssh: connect to host IP port 22: Operation timed out
  </code></pre>
  
  <p>using <code>traceroute IP</code>:</p>
  
  <pre><code>1  dsldevice (192.168.1.254)  26.208 ms  1.868 ms  1.648 ms
  2  107-213-192-1.lightspeed.tukrga.sbcglobal.net (107.213.192.1)  47.442 ms  5.552 ms  8.436 ms
  3  76.239.207.154 (76.239.207.154)  3.128 ms  9.490 ms  7.191 ms
  4  * * *
  5  * * *
  6  * * *
  7  * * *
  </code></pre>
  
  <p>using <code>cd /etc/ssh/</code> then running <code>cat sshd_config</code> and recieved the following output:</p>
  
  <pre><code>#pass locale information
  AcceptEnv LANG LC_*
  # no default banner path
  #Banner none
  # override default of no subsystems
  Subsystem   sftp    /usr/libexec/sftp-server
  </code></pre>
  
  <p>I have no idea how to fix this or what could have happened overnight. Thank you in advance for your help.</p>