You are not logged in.
Hello,
I can't make an SSH connection from my Arch laptop to my desktop (which runs sshd and shares internet using an access point)
It works from windows using PUTTY, and the internet otherwise works perfectly in Arch. This is what happens:
$ ssh -l myname 192.168.2.1
ssh: connect to host 192.168.2.1 port 22: No route to host
# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 * 255.255.255.0 U 0 0 0 eth0
192.168.2.0 * 255.255.255.0 U 0 0 0 eth1
default Tuonela.koti.uk 0.0.0.0 UG 0 0 0 eth1
eth1 is the wireless adapter that I use.
The laptop eth1 is 192.168.2.253
wireless AP is 192.168.2.254
which connets to desktop gateway 192.168.2.1 (Tuonela.koti.uk)
And I can't ping 192.168.2.1 either from Arch.
It shouldn't be a firewall issue on my desktop as Putty does it from win.
Do I have to configure something in SSH?
By the way, does it matter if in my laptop both eth0 (not used) and eth1 have the same static IP?
Thanks for any help!
Offline
You have two routes to the 192.168.2.0 network, which won't work. If eth0 is not used, deactivate it, and that wil get rid of the unnecessary route.
Offline
indeed, thank you
Offline