This does not make sense. Read the comment in the config file:
8 # The strategy used for options in the default sshd_config shipped with
9 # OpenSSH is to specify options with their default value where
10 # possible, but leave them commented. Uncommented options override the
11 # default value.
12
13 Include /etc/ssh/sshd_config.d/*.conf
14
15 #Port 22
...
57 # To disable tunneled clear text passwords, change to no here!
58 #PasswordAuthentication yes
59 PasswordAuthentication no
i.e. I set the value of line 58 from yes (default) to no to permit only RSA key logins.
Try installing and run local in the L5 in a terminal
And also āno route to hostā is unaffected by the port number (unless maybe someone is running an exotic kernel or the OPās network is more complex than we realise).
As I (and others) said, the changes you did are just a NOP (from the old good days of IBM /360 assembly language, a NOP is often represented as an instruction that literally does nothing).
Of course, youāre free to not to continue further troubleshooting. And, just as a hint of my 45 years of computer experience: unsolved and not understood problems will return, and often in the moment less desired.
Agreed with your point. I tried as you suggested. I let the battery go low to see if the issue reappears and it did. So, as you mentioned the changes I made did not resolve the issue. I would say they were mere work-around approaches.
I used the tcpdump command as you had mentioned. There is no traffic coming to the port when I attempt an ssh with low battery.
Outbound ssh from the client system is working. I can ssh to my raspberrypi from the my manjaro laptop which is my ssh client system. But ssh to Librem 5 is not working. So, ssh client seems working fine.
There is no update after the initial messages on screen. It is just waiting ((I do not have that message with me. I will try to capture it next time)
Something more to add, the phone had very low battery this morning when SSH did not work. Now, the battery is around 95%+ and it is working. I did not make any change nor did i restart the SSH process or any such thing. It just worked when I did a SSH from my client machine.
ping does not work on both Librem 5 and my laptop when SSH is not working.
Something more to add, this issue occurs only after I install waydroid. With no waydroid, ssh works fine even after i bring the phone back to network from suspend mode.
So, Iām out of this. I have no idea what should or could do this piece of software (which I do not use and do not need) with your network stack. Sorry.
I still think the output of /sbin/route both when ssh isnāt working and when it is working can help. The output is usually pretty simple and most of it easy to interpret.
On one of my computers, it is:
$ /sbin/route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.2.1 0.0.0.0 UG 0 0 0 eno1
localnet 0.0.0.0 255.255.255.0 U 0 0 0 eno1
where 192.168.2.1 is the IP address of my router.
There is a chance that when ssh isnāt working, the default gateway or something else has changed.