ssh -p 22222 root@<cellular-ip> hangs while
ssh -p 22222 root@<wifi-ip> works.
I’m trying to figure out remote access to my Fin over cellular. It is currently connected to wifi and cellular but I can only ssh via the local wifi IP address not cellular. I’ve turned off the VPN (and other settings to reduce bandwidth) so I’ve added my public key to config.json which allows me to do
ssh -p 22222 root@<device-ip>
So at this point I can confirm that the device has an IP address via wifi on my local network and an IP address via the EC25 modem. I have previously SSHed over cellular via the VPN.
I’ve confirmed that sshd is listening on all address with
tcp 0 0 :::22222 :::* LISTEN
And I don’t see any interface specific firewall rules with
ACCEPT tcp -- anywhere anywhere tcp dpt:22222
I tried changing the SSH port by editing
/etc/ssh/sshd_config but it doesn’t seem to have any effect.
How is SSH being configured to run on port 22222?
Am I missing a firewall rule, ssh setting, or IP4/6 issue?
Edit Just reenabled the VPN and
balena ssh <uid> works but
balena ssh <cellular-ip> does not.