I'm trying to SSH into an Ubuntu computer from my MacOSX computer. I have openssh installed on my Ubuntu and have disabled the firewall. I've ssh-ed into other servers before on this Macbook. I don't get a response from the Ubuntu server though:
$ ssh -v <domain_name>
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 <domain_name> port 22.
ssh: connect to host <domain_name> port 22: Operation timed out
I've already tried pinging the domain name, that works. I ran 'ssh localhost' on the Ubuntu computer and it worked fine. I also checked that port 22 was listening and is ssh, it is. I tried using 'ssh username@domain_name'. Same response. Any ideas?