[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Unable to ssh to Debian 9 from 9 or 11



On Sat, 15 Jul 2023, Greg Wooledge wrote:
On Sat, Jul 15, 2023 at 11:59:33AM +0200, Roger Price wrote:
rprice@kananga:~$ ssh -v rprice@maria
ssh: connect to host maria port 22: Connection timed out

A timeout is an ENTIRELY different symptom, and when combined with
"but I can ping the remote", it means a firewall is involved.  Every
time.

I tried to clear out the existing firewall on a Debian 9 machine with the commands

 iptables -F
 iptables -X
 iptables -P INPUT ACCEPT
 iptables -P FORWARD ACCEPT
 iptables -P OUTPUT ACCEPT

 iptables -L -n --line-numbers reports

 Chain INPUT (policy ACCEPT)
 num  target                    prot opt source     destination
 1    ufw-before-logging-input  all  --  0.0.0.0/0  0.0.0.0/0
 2    ufw-before-input          all  --  0.0.0.0/0  0.0.0.0/0
 3    ufw-after-input           all  --  0.0.0.0/0  0.0.0.0/0
 4    ufw-after-logging-input   all  --  0.0.0.0/0  0.0.0.0/0
 5    ufw-reject-input          all  --  0.0.0.0/0  0.0.0.0/0
 6    ufw-track-input           all  --  0.0.0.0/0  0.0.0.0/0

   ... and so on

I then recycled the Debian 9 machine, power off, power on, for a clean restart,
After the restart, I tried to ssh from Debian 11 to that Debian 9 machine

 rprice@titan ~ ssh -v rprice@kananga
 ssh: connect to host kananga port 22: Connection timed out

So it's something else?  Roger


Reply to: