cant ssh into laptop
hi, my laptop is running fedora-9 live-usb and my desktop is running knoppix-5 live-cd.
they are both ethernet attached to a netgear wgr614v8. the knoppix machine has ip address 192.168.5.25 and the fedora machine has address 192.168.5.2. i dont see anything obviousely wrong in the router configuration. Code:
knoppix@1[~]$ ping -c 1 192.168.5.1 |
Quote:
|
well according to the ping above the fedora host 192.168.5.2 does exist and is powered on but ssh returns 'no route to host'
the hosts 192.168.5.3 and 192.168.5.4 do not exist and appropriately return 'no route to host'. also the router 192.168.5.1 and the knoppix host 192.168.5.25 return the expected error 'connection refused' because their ssh servers are not on. on the flip side this is what i get when trying to ssh from the fedora machine to the knoppix machine Code:
[fedora@localhost ~]$ ssh 192.168.5.1 |
Probably either firewall or selinux issue.
I think the gui tool is called system-config-firewall and there, you should be able to allow ssh connections. (That is, on the Fedora machine, run the command, as root or with root privilege, system-config-firewall. I think it blocks ssh by default. |
^ that did it. this was hard to debug because not much info could be obtained from sshd -d -d -d or ssh -v -v -v.
also nothing checked in on /var/log/messages . |
That makes sense if your iptables INPUT chain terminated with REJECT --reject-with icmp-host-unreachable or similar... Silly me.
|
All times are GMT -5. The time now is 07:26 AM. |