Hello Dr John A mistake I made was not entering the gateway setting (eg 192.168.1.1) on the server, as well as on the modem. In linux (?your server) this is specified in:
etc/sysconfig/network The symptom of this was that I could putty into the server from within the LAN, but not outside of the LAN (from home etc) To check, at the root prompt (ie at #) type: route Also, it is a lot easier to install openssh for the purposes of setting up an ssh server, rather than cygwin (refer http://www.openssh.com/faq.html ) Sincerely Michael -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dr John Van Dyck Sent: Sunday, 2 July 2006 9:57 PM To: 'General Practice Computing Group Talk' Subject: RE: [GPCG_TALK] Knock, knock Thanks Peter, Got it going in reverse from surgery to home after enabling access port 22 on firewall at home. Thus it would seem to be an inability to open 22 at surgery. Will work on that. Many thanks -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Machell Sent: Sunday, 2 July 2006 8:53 PM To: General Practice Computing Group Talk Subject: Re: [GPCG_TALK] Knock, knock On 02/07/2006, at 9:11 AM, Dr John Van Dyck wrote: > Thanks Peter. The only thing I can't get to work is logging on to > the > server at work from home via internet. Server has fixed IP > address and > when run ssh [EMAIL PROTECTED] address I get "no route to host". I > get the > same reply trying to run the tunnelling script from your slides. > > I have enabled access to port 22 on firewall and forwarding 22 to > the local > machine running cygwin. Maybe this has not been done > correctly. However > I can run successfully on the LAN from all computers at home and > surgery, > just cant connect the two via internet. Is there a firewall on the host machine, preventing 22 from coming in from the Internet? Use multiples of -v for verbose info eg. $ ssh -v -v [EMAIL PROTECTED] should give you more than enough to debug. Don't bother with tunnels until you can get a simple ssh connection going. cheers, Peter. _______________________________________________ Gpcg_talk mailing list [email protected] http://ozdocit.org/cgi-bin/mailman/listinfo/gpcg_talk _______________________________________________ Gpcg_talk mailing list [email protected] http://ozdocit.org/cgi-bin/mailman/listinfo/gpcg_talk _______________________________________________ Gpcg_talk mailing list [email protected] http://ozdocit.org/cgi-bin/mailman/listinfo/gpcg_talk
