Security

Re: HP UX not able to reach through SSH and telnet

 
Momo18
Visitor

HP UX not able to reach through SSH and telnet

I have a ssh and telnet access problem to server HP UX B.11.31. Only console access iss OK

When i SSH after i enter login ( root), the password prompt don't come (I do not have the possibility to put the password). 

The Configurations at the SSHD_Config file level appears to be correct. 

No errors in the logs at /var/adm/syslog/syslog.log

Spoiler
 

 

Please Help me

4 REPLIES 4
Steven Schweda
Honored Contributor

Re: HP UX not able to reach through SSH and telnet

> When i SSH after i enter login ( root), the password prompt don't come
> (I do not have the possibility to put the password).

   Does this problem affect other users, or only "root"?  How long did
you wait?  A frequent cause of remote log-in delays (30s or more) is a
bad DNS configuration.  Many server programs attempt to do a reverse
(address-to-name) look-up on a client when the client tries to connect.
If the DNS configuration is bad, then it may take a long time (30s?) for
that name look-up to fail.

   A Forum (or Web) search for keywords like "slow Telnet" or "slow SSH"
should find many examples.

   A quick test would be to run a command like the following on the
SSH/Telnet server:

      nslookup ip.address.of.client

   If that command fails (slowly), then you should probably look at the
DNS resolver configuration of the server.

Momo18
Visitor

Re: HP UX not able to reach through SSH and telnet

Hello,

Thank you for your reply.  

When I enter the login (root) and I type enter, I wait for 2 minutes before the server interrupts the connection.

I have only one user which is root. 

If it's a DNS problem, where can I fix it ?  At the SSHD_CONFIG file, I already put UseDNS no but it did not fix the problem. 

Mani_Np
HPE Pro

Re: HP UX not able to reach through SSH and telnet


This normally happens due to name resolution issue.

Hope you are able to login with root user through console.

Did you check files /etc/nsswitch.conf and /etc/resolv.conf?

If /etc/nsswitch.conf refers to DNS, then you need to verify if DNS servers listed in /etc/resolv.conf file are reachable.


In case you need further assistance, it is best to contact HPE Support and log HPUX software case for further assistance.

Regards,
Manikandan
I work for HPE

Accept or Kudo

Momo18
Visitor

Re: HP UX not able to reach through SSH and telnet

Hello,

the problem is solved. There was a problem with the DNS server that was configured at /etc/resolv.conf.

 I changed the address by putting the one of the DNS server that works. 

Thank you very much