[SWLUG] using ssh to talk to a server?

Mark Summerfield mark at qtrac.eu
Fri May 2 10:44:04 UTC 2008


On 2008-05-02, Pete Prior wrote:
> Sounds like a network routing problem not an ssh one :|
>
> what happens if you run
>
> (on 192.168.1.2): route add default gw 192.168.1.2
> (on 192.168.1.3): route add default gw 192.168.1.3

I did exactly that on both machines as root and then tried ssh -p (both
as mark and as root), and got exactly the same error.

And then I discovered that the Intenet stopped working (because this
email couldn't be sent)!
So now I've run
    (on 192.168.1.2): route del default gw 192.168.1.2
    (on 192.168.1.3): route del default gw 192.168.1.3
and now things seem back to normal...

Daniel in another email asked about /etc/sshd_config, but I haven't
edited that on either machine. I try to leave anything outside /home to
be exactly as the distro wants.

What I'd really like it to be able to make both machines "trust" each
other, but without that trust extending past the router that they are
connected by (and that is connected to the Internet).

Could I create a ~/.ssh/ssh_config file or some such on each machine to
do that?

Thanks!

-- 
Mark Summerfield, Qtrac Ltd., www.qtrac.eu





More information about the Swlug mailing list