Re: ssh only with internet connection?
From: Conrad J. Sabatier (conrads_at_cox.net)
Date: 06/27/04
- Next message: Daniel Meynen: "Re: FreeBSD 5.2.1 / shutdown X server"
- Previous message: Sven: "ssh only with internet connection?"
- In reply to: Sven: "ssh only with internet connection?"
- Next in thread: Thomas Wolf: "Re: ssh only with internet connection?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 27 Jun 2004 20:33:21 GMT
In article <40df2cd3$0$107$65c69314@mercury.nildram.net>,
Sven <no@spam.com> wrote:
>
>
>Greetings,
>
>I have experienced quite a strange behavior of sshd that I'd like to fix
>but don't quite know how.
>
>My network has two machines A and B and hardware router with NAT to get
>to the Internet via ADSL. Both run FreeBSD, A is a 4.10 box, B is a
>5.2.1. Box A is configured as a DNS server, which has my ISP's DNS
>servers as forwarders. It works fine - I tried "nslookup xyz" and
>"host xyz" and it runs properly. Both machines are configured to use A
>as a DNS.
>
>The problem: When the connection to the internet is available both
>machines boot up without any problems, and I can use ssh between them,
>i.e. from either one to the other. However, when the internet
>connection is down, ssh stops working. A previously established
>connection would still be maintained and be operational, but no new
>connection is possible. That is, even omitting hostnames and using IPs
>to set up the connection fails, e.g. "ssh user@1.2.3.4". Similarly,
>when no internet connection is available both machines would not get
>past the loading stage of sshd without ^C ing them.
>
>I though that running my own DNS would make my network independent from
>the internet, but the problem obviously persisted. Has anyone
>experienced this before or got a fix for it?
>
>Any help will be much appreciated
>
>Sven.
You might try adding entries to your /etc/hosts file for each machine.
I'm not intimately familiar with the workings of ssh/sshd, but it *may* be
a simple lookup failure.
-- Conrad J. Sabatier <conrads@cox.net> -- "In Unix veritas"
- Next message: Daniel Meynen: "Re: FreeBSD 5.2.1 / shutdown X server"
- Previous message: Sven: "ssh only with internet connection?"
- In reply to: Sven: "ssh only with internet connection?"
- Next in thread: Thomas Wolf: "Re: ssh only with internet connection?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|