You are not logged in.

#1 2020-09-21 21:15:04

mar3620
Member
Registered: 2020-09-21
Posts: 2

[SOLVED] SSH network is unreachable

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

#2 2020-09-21 21:19:10

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: [SOLVED] SSH network is unreachable

mar3620 wrote:

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

#3 2020-09-21 21:30:58

mar3620
Member
Registered: 2020-09-21
Posts: 2

Re: [SOLVED] SSH network is unreachable

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

#4 2020-09-21 21:33:36

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: [SOLVED] SSH network is unreachable


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

Board footer

Powered by FluxBB