spelchk
Mission Specialist
Mission Specialist
  • 434 Views

SSH - route not found

Jump to solution

I seek knowledge.

Situation: I had set SERVER-A with static IP / Gateway via nmcli, restarted network manager.  I allowed remote root access from sshd_config and restarted the sshd server. I had also set firewall to allow ssh service and set the zone to public.

From another workstation, I could ping SERVER-A, and could ping the gateway,  but when I attempt to SSH into SERVER-A, recieve a route not found message and unable to SSH.

Any clues where to look, or how to troubleshoot?

Thank you!

Labels (2)
Tags (1)
1 Solution

Accepted Solutions
Chetan_Tiwary_
Moderator
Moderator
  • 418 Views

are the IPs on same subnet ? anything you got by increasing the verbosity ( -vvv) while doing ssh ? You can check logs using : journalctl _COMM=sshd   or journalctl _SYSTEMD_UNIT=sshd.service   or /var/log/secure 

View solution in original post

3 Replies
Chetan_Tiwary_
Moderator
Moderator
  • 427 Views

@spelchk  on what port ssh is configured ? is the firewall blocking port ? Try ssh with ip instead of hostname. Also is ssh running on the remote host ? any info in the logs ?

spelchk
Mission Specialist
Mission Specialist
  • 422 Views

@Chetan_Tiwary_ 

Thank you for your response.

confirmed port 22, and using IP doesnt work either. The logs? Where or what command is that? I did a netstat -lnp and confirmed sshd is listening on both remote host and client 

Chetan_Tiwary_
Moderator
Moderator
  • 419 Views

are the IPs on same subnet ? anything you got by increasing the verbosity ( -vvv) while doing ssh ? You can check logs using : journalctl _COMM=sshd   or journalctl _SYSTEMD_UNIT=sshd.service   or /var/log/secure 

Join the discussion
You must log in to join this conversation.