Operating System - HP-UX
1825795 Members
2317 Online
109687 Solutions
New Discussion

Delayed SSH login on HPUX machine

 
NaeemKhan
Collector

Delayed SSH login on HPUX machine

I am having problem with ssh login to a HPUX host, there is delayed login and it hangs on a message for about 3 minutes " Sending env LANG= en US.UTF -8" when ssh is used with -v switch, during this delay some monitoring application fails to monitor caused by time out.
I need help how to get this issue resolved and i can not see any entry for sending environment parameter in the file sshd_config under folder /opt/ssh/etc/sshd_config

2 REPLIES 2
Steven Schweda
Honored Contributor

Re: Delayed SSH login on HPUX machine

> I am having problem with ssh login to a HPUX host, there is delayed
> login and it hangs on a message for about 3 minutes [...]

   A particular DNS problem is the usual reason for a delay in an SSH
(or Telnet, or ...) connection.

> [...] " Sending env LANG=en US.UTF -8" when ssh is used with -v
> switch, [...]

   Do you know that that's related to the problem, or is that only the
last message before something else hangs?

      https://community.hpe.com/t5/x/x/m-p/7021202

> [...] i can not see any entry for sending environment parameter in the
> file sshd_config under folder /opt/ssh/etc/sshd_config

   I know nothing, but I'd guess that that will happen if LANG is set on
the client system.  But it may not be related to the delay.

meetprasanta
Occasional Contributor

Re: Delayed SSH login on HPUX machine

Take backup and and clear the file - /var/adm/wtmps.

Regards,

Prasanta