Operating System - HP-UX
1835657 Members
3148 Online
110082 Solutions
New Discussion

Re: ssh reverse mapping......

 
INCS Dept.
Frequent Advisor

ssh reverse mapping......

We encoutered the problem of a reverse mapping that caused a time-out in an environment where DNS was not running quite as well as we wanted to.
There seems to be a ReverseMappingCheck or a VerifyReverseMapping statement in the sshd config file. If I try to start the sshd daemon I get the message that both of these optiions are decprecated.

Is there a way to disable reverse mapping without ruling out DNS (i.e. UseDNS = no)?

Thx.

INCS
1 REPLY 1
Ivan Ferreira
Honored Contributor

Re: ssh reverse mapping......

Try this:

Edit /etc/rc.config.d/sshd

SSHD_START=1
SSHD_ARGS="-u0"

This option is used to specify the size of the field in the utmp structure that holds the remote host name.

-u0 is also be used to prevent sshd from making DNS requests unless the authentication mechanism or configuration requires it.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?