Re: can passwordless SSH work without DNS ?

From: Neil Zanella (nzanella@cs.mun.ca)
Date: 02/27/02


From: nzanella@cs.mun.ca (Neil Zanella)
Date: 27 Feb 2002 11:50:33 -0800

Neil W Rickert <rickert+nn@cs.niu.edu> wrote in message news:<a5gba0$o68$1@husk.cso.niu.edu>...
> Neil Zanella <nzanella@garfield.cs.mun.ca> writes:
>
> >I happen to be stuck with two accounts from two different providers and
> >both do not offer dns although both of them once did. So I have two IPs
> >with no associated hostname. I also have a third IP from one of these
> >providers which does come with dns. I notice that whenever I use one
> >of the hostnameless computers I cannot do passwordless ssh whereas
> >with all hostname possessing computers I have come across this is
> >possible. On the hostnameless computers I am running OpenSSH 2.9p2-11.
>
> It works for me (OpenSSH 3.0.2p1). I use public key authentication.
> In my ".ssh/config" file, I set "HostbaseAuthentication=no" and
> "RhostsRSAAuthentication=nl". Those settings stop the server from
> attempting to validate the hostname of my connecting system. It
> still works without those settings, but I then get messages logged
> about mismatch between the DNS hostname and the hostname given by the
> SSH client.

Thanks for your feedback.
I tried placing the lines
HostbasedAuthentication no
RhostsRSAAuthentication no
in my ~/.ssh/config file but that did not solve my problem.
I think that perhaps the same lines must be configured on the
server for this to work but I do not have root access to it.
The error message I get when trying to connect is always:
ssh_exchange_identification: Connection closed by remote host

Thanks,

Neil



Relevant Pages

  • Re: adding a second nic
    ... > internal Active Directory domain zone. ... with a gateway of 192.168.1.1 and assign it in DNS as a domain name ... and use that as my internet connection ... on 192.168.1.200 called outside, with hostname ohostname. ...
    (microsoft.public.win2000.dns)
  • Re: Security flaw in ALCATEL/THOMSON Speed Touch Pro ADSL modems
    ... | because it's a way DHCP and DNS are supposed to work and it's ... firmware simply doesn't validate any further Hostname given to it, ... this flaw allows to corrupt the local zone file ...
    (Bugtraq)
  • Re: Bug in Graphical Network Configuration???
    ... I have assigned the static address for my FC5 box because I am serving ... FC5 box has something to do with the Samba since windows machines uses ... addresses - it might add them (machine hostname and FQDN) to the ... The ISP's DNS server numerical IP addresses. ...
    (Fedora)
  • Re: IP ADDRESS
    ... to me with the least amount of client machine configuration or programming. ... machines in DNS or RDNS, or that you have them all in DNS & RDNS. ... GET THE HOSTNAME FOR THE DEVICE ... FOR PTR = 1 TO LNS ...
    (comp.databases.pick)
  • Re: can passwordless SSH work without DNS ?
    ... >both do not offer dns although both of them once did. ... >with no associated hostname. ... >providers which does come with dns. ... On the hostnameless computers I am running OpenSSH 2.9p2-11. ...
    (comp.security.ssh)