On 6/13/2024 10:26, Darac Marjal wrote:
On 12/06/2024 23:54, Greg Marks wrote:
The problem began a couple weeks ago; previously (and for many years)
I had been able to ssh to my server without issue. The first time it
failed, I was using free wireless at an airport; I was able to ssh to my
server from the hotel that morning, and maybe, the first time I tried,
from the airport, but then subsequent ssh attempts from the airport
failed to connect. I mention this only because nothing had changed in
my server's configuration when this problem began.
This is a real problem for me, as a lot of my work involves sending
files via scp between work and home. Any suggestions about how to
troubleshoot and hopefully fix the problem will be greatly appreciated.
Have you contacted your ISP? It's possible they're blocking SSH access
on (questionable) security grounds.
As a workaround, you could look at
https://packages.debian.org/bookworm/sslh, which allows you to
"multiplex" HTTPS, SSH and various other protocols all on the same
port (the idea being that you can do "ssh -p 443 gmarks.org" as well
as browsing to https://gmarks.org:443).
It might be worth trying something like Tailscale... with a free
personal account, you can set it up on your home server, and if your
work allows, on there as well. It'll establish essentially a private
vpn between the devices, without having to mess with any kind of port
forwarding on your router, and bypassing any shenanigans on the part of
your ISP. Tailscale also has some 'fancier' SSH options, if you need
them, but just establishing a 'direct' connection between the hosts
without any other crap in between helps simplify things a lot.