[SWLUG] using ssh to talk to a server?

Mark Summerfield mark at qtrac.eu
Fri May 2 10:18:48 UTC 2008


On 2008-05-02, you wrote:
> (on 192.168.1.3)
>
> ssh -p 9876 192.168.1.2

I did that and got:

ssh: connect to host 192.168.1.2 port 9876: No route to host

(I tried as user mark and as root and got the same message both times.)

But on the same machine when I do ssh 192.168.1.2 it asks for my
password (for the other machine) and when I give it I get logged in with
no problem. (And doing ssh 192.168.1.3 on the other machine also works
fine.)

> Pete
>
> Mark Summerfield wrote:
> > Hi,
> >
> > I'm trying to do this:
> >
> > Machine 192.168.1.2 (Fedora 8)
> >     run a server on port 9876
> >
> > Machine 192.168.1.3 (Kubuntu 8)
> >     talk to machine 192.168.1.2's server on port 9876.
> >
> > Both machines are running sshd.
> >
> > I've tried using ssh -R and -L but I can't get it to work and I just
> > don't understand the ssh man page. Surely this is easy to do?
> >
> > Thanks!

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




More information about the Swlug mailing list