More often than not I am getting this error when connecting to a brand new Mac Mini, firewall disabled:
ssh -l [username] [fixed_ip]
ssh: connect to host [fixed_ip] port 22: Connection timed out
ssh -l [username] [fixed_ip]
ssh: connect to host [fixed_ip] port 22: No route to host
(For security reasons, I have [fixed_ip] and [username] instead of the real values above.)
The connection does work sometimes, though. How can I make it more reliable?