Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Feb 2001 14:09:23 -0500
From:      Bob Johnson <bob@eng.ufl.edu>
To:        Burke Martin <czr@dunces.org>, questions@freebsd.org
Subject:   Re: Fwd: SSH is making me very sad
Message-ID:  <3A9AA9E3.59D54C5E@eng.ufl.edu>
References:  <4.3.2.7.2.20010226081540.00a91d90@dunces.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Burke Martin wrote:
> 
> Im almost positive that this is a DNS problem. Is there somewhere i can
> start looking for something or a place that i can narrow down the
> possabilities? a "litmus test" of sorts?
> So far what ive heard to do is to setup bind.
> 

Did you try doing DNS queries to see what happens?  I.E. try 

 nslookup www.freebsd.org

and if that works (it should tell you 

 Name:    freefall.freebsd.org
 Address:  216.136.204.21
 Aliases:  www.freebsd.org     

) then it is something more subtle than merely "DNS isn't 
working".  If it doesn't work, the first thing to do is 
check /etc/resolv.conf.  It should contain something like 

 domain  example.com
 nameserver      192.0.2.1
 nameserver      192.0.2.2     

Except that the domain and nameserver addresses should 
be the ones that are correct for your network.  Your ISP 
or network admin should be able to tell you what to use 
if you don't already have the information.  I have 
managed in the past to do an install that didn't configure 
this file, although I don't know how I did it.  It normally 
gets configured correctly when the system is installed.

- Bob

> burke
> 
> At 09:02 AM 2/26/01 -0500, Bob Johnson wrote:
> > >
> > >
> > > Date: Sun, 25 Feb 2001 15:31:56 -0800
> > > From: Burke Martin <kilgore@speakeasy.org>
> > > Subject: Fwd: SSH is making me very sad
> > >
> > > Hi all, again,
> > >
> > > Ive been trying to get this straight and nothing ive tried works so far.
> >
> >ssh should work right out of the box with 4.2-RELEASE.  If it doesn't,
> >it suggests that something went wrong with your install.
> >
> > > Here is what i get when i do -v
> >[...snip...]
> > > debug: Received encrypted confirmation.
> > > debug: Trying Kerberos V5 authentication.
> >
> >Did you install Kerberos 5?  You probably don't want to do
> >that unless you actually need Kerberos.  It's just something
> >else to confuse you.
> >
> > >
> > > Another problem that might be related is that email doesnt work. I get a
> > > "can not check MX records for recipients address"
> > >
> >
> >I think this is probably the source of your problem.  It sounds
> >like your DNS service isn't working correctly.  What happens,
> >for instance, if you enter "nslookup www.freebsd.org" ?  Or
> >what is the "answer" section in the response to "dig freebsd.org MX"?
> >
> >
> >If DNS is your problem, I think you will get an error message
> >after about two minutes of waiting.  But I could be wrong.
> >
> >[...snip....]
> > > >
> > > >Can someone give me some tips on where to start so that I can get SSH
> > > >working on FreeBSD-4.2... I jsut set this machine up and im kind of
> > > >confused because there is so much documentation out there relating to
> > > >problems with ssh. The problem im having is when i go to log in with ssh
> > > >after the password is entered it jsut hangs. I have added some lines into
> > > >my pam.conf file but that hasnt made a difference. Here is what i put in
> > > >the pam.conf
> > > >
> > > >sshd    auth    sufficient      pam_skey.so
> > > >sshd    auth    required                pam_unix.so     try_first_pass
> > > >sshd    session required                pam_permit.so
> > > >
> >
> >In 4.2-RELEASE sshd relies on the "other" entries in pam.conf.
> >Somewhere between -RELEASE and now this stuff became necessary,
> >but I think that in your case it should't have mattered, they
> >won't do any harm if they are there.
> >
> > > >This isnt exact because i didnt copy and paste but this is contained in
> > > >the file. Any help would be thoroughly appreciated.
> > > >
> > > >Thanks,
> > > >Burke
> >
> >Once you get the basic SSH service working, I have a tutorial on
> >how to use it at http://www.afn.org/~ambient/sshfreebsd.html or
> >http://www.afn.org/~ambient/sshfreebsd.rtf  (the RTF version has
> >better formatting).  It isn't ready for general distribution, but
> >I am asking for folks to review it and make suggestions for
> >improvement.  Once I get it cleaned up a little more I will submit
> >it for inclusion in the FreeBSD Handbook.
> >
> >My primary interest is getting feedback on the factual accuracy
> >rather than grammatical concerns (at this point).  If anything is
> >confusing let me know about that, too.
> >
> >
> >- Bob

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A9AA9E3.59D54C5E>