PINE64
ssh server unreachable - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: Mobian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139)
+---- Thread: ssh server unreachable (/showthread.php?tid=19573)



ssh server unreachable - lesteretsel - 12-18-2024

Hi there,
I am running mobian 12 on pinephone (not pro). I am connected to my local wifi. sshd is installed and active but I am not able to connect from another computer of my local network (ssh mobian@192.168.1.xx) :
Code:
ssh: connect to host 192.168.1.xx port 22: No route to host

If I try to ping to the pinephone's IP I get :
Code:
From 192.168.1.xx icmp_seq=9 Destination Host Unreachable
iptables -L says averything is "ACCEPT".
Thanks for your help !


RE: ssh server unreachable - walter1950 - 12-19-2024

(12-18-2024, 01:46 PM)lesteretsel Wrote: Hi there,
I am running mobian 12 on pinephone (not pro). I am connected to my local wifi. sshd is installed and active but I am not able to connect from another computer of my local network (ssh mobian@192.168.1.xx) :
Code:
ssh: connect to host 192.168.1.xx port 22: No route to host

If I try to ping to the pinephone's IP I get :
Code:
From 192.168.1.xx icmp_seq=9 Destination Host Unreachable
iptables -L says averything is "ACCEPT".
Thanks for your help !

Code:
ssh mobian@mobian
works for me...
Ciao
Walter


RE: ssh server unreachable - lesteretsel - 12-19-2024

This is what I tried so far :
1. edit /etc/ssh/sshd_config
PermitRootLogin yes
#UsePAM yes
2. Connect pinephone to the usb port
3. ssh using usb modem : ssh -v mobian@10.66.0.xx
After doing that I am able to ssh with wifi network (mobian@192.168.1.xx) even if I remove usb cable.
But after a while, ssh connection is lost and I have to connect again with the usb.