[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: strange SSH behavior



Hi all, I have been having the same problem with SSH also.  I thought that 
since I have been experimenting with my kernel, that I caused it my self.  
Good thing I didn't.  Anyways, here is what I did to fix my problem, but it 
comes back everytime I reboot my obsd box.  I can't figure out how to add 
the line at boot time, but this will work.

In resolv.conf, after "search domain.name.blah" I added "lookup file" AND 
changed the line in sshd_config from "ReverseMappingCheck yes" although it 
was commented out, to "no" and now, what bam thank you ma'am, as soon as I 
enter my password, I'm dropped to my shell.  Now if someone could explain as 
to why this happened all of a sudden, to more than just one person, would be 
great.  Perhaps is there a patch to come to fix this?
Hope this helps to delete any headaches that you people are having.

Casey

On Tuesday 05 March 2002 10:59 am, you wrote:
> On Mon, Mar 04, 2002 at 09:22:13PM -0600, Ricardo Londono wrote:
> > I have been running an OBSD 3.0 server for 3+ months now.  I love it! 
> > But lately for some strange reason when I use Putty to connect to the
> > server via SSH it takes a good long 2 minutes or so to authenticate me. 
> > I also believe it's affecting FTP?  This problem started about 1 week ago
> > and I have not done anything.  It authenticates eventually and works fine
> > but takes a long time. Before I would type password in and connect
> > instantly.
> >
> > any ideas?
>
> We had a similiar problem with sshd a while ago. The reason was a change in
> dns. As i understand it, sshd tries a reverse lookup of your ip. We put
> every machine (a small network) into the /etc/hosts and everything was fine
> again. If you run your own nameserver, check if his zone-files are
> up-to-date.
>
> Hope it helps
>
> Alf
>
> > thx
> >
> > Ricardo

--