You are not logged in.
I recently reinstalled arch Linux on my desktop and I use ssh a lot on my LAN. I cannot connect via ssh to my desktop from any thing I always get "network is unreachable" even thought sshd is enabled and active as a service.
I ran
netstat -tnlp | grep 22 and got
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN -
tcp6 0 0 :::22 :::* LISTEN -
tcp6 0 0 2600:1700:b8c0:3c:38580 2a04:4e42:3e::622:443 ESTABLISHED 918/brave --type=ut
the output of ss -plnt is
State Recv-Q Send-Q Local Address:Port Peer Address:Port Process
LISTEN 0 5 127.0.0.1:6600 0.0.0.0:* users:(("mpd",pid=741,fd=9))
LISTEN 0 128 0.0.0.0:22 0.0.0.0:*
LISTEN 0 128 [::]:22 [::]:*
Last edited by mar3620 (2020-09-21 21:31:21)
Offline
I always get "network is unreachable"
That's an odd error - and wouldn't lead me to troubleshoot the server. Is that from openssh on another *nix system? Please post the complete command and full output from the client system attempting to connect (along with info on that system's OS and ssh client version).
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Hey im really stupid. I spend the past 3 hours trying to fox ssh and I found out my cat chewed through the Ethernet cable I use for my laptop.
Trilby im really sorry for wasting your time
Offline
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline