I've been researching this problem for the past 4-5 days, but to no avail. SSH refuses to log in from remote computer. Ubuntu 20.04 server is running on server on local network.
So far:
1. I'm able to ftp, ssh, telnet, vnc to a local server from computers on the same local network: no problem
2. From a remote location I'm able to ftp, telnet, vnc to local server but ssh refuses to connect to the server
3. more info:
modem forwards port 22 to local server (the same for ports 21 & 23 & 80 & ...)
sshd is up and running on the server
ufw configured to grant access to port 22: Action
ALLOW IN
from "Anywhere" (checked by issuing commandsufw status numbered
andufw status verbose
).service ufw status
reports ufw is activelsof i -n -P|grep LISTEN
reports port 22 is listeningssh -vvv IP_Address
from remote computer reports this error message:async io completed with error: 10061" & connection fails
/var/log/auth.log
logs the following item after connection refused:Received signal 15; terminating
which means "some" process has issued a SIGALRM & kernel killed connection attempt
At this point, I believe "something" (in ssh configuration files or elsewhere) is blocking remote connections to ssh, but I don't know where to look at this point. Answers to this previously posted problem have resulted in "generic answers" with no meaningful answers.
ssh
from outside the network? Is it by the IP address or domain name? If IP address, which one? Is your server at home or in a office? – user68186 Dec 01 '21 at 22:53/etc/hosts.deny
? – Doug Smythies Dec 01 '21 at 23:11