Operating System - HP-UX
1753753 Members
5217 Online
108799 Solutions
New Discussion

Re: ssh cnonection Failed to allocate pty!

 
thrubovc
Advisor

ssh cnonection Failed to allocate pty!

Hi all,

Why could we possibly be getting this error? Users are having problems to connect via ssh (it worked for me)

 

exdccf1:O2O:/c1/exbvar/o2o/oper> ssh exdcuf2

Authentication successful.

Failed to allocate pty!

Connection to exdcuf2 closed.

 

who shows about 30 users connected, while kernel parameters are set to 120 or so.

Does anyone have an idea what to check/where to look?

Thanks

3 REPLIES 3
Ken Grabowski
Respected Contributor

Re: ssh cnonection Failed to allocate pty!

What does syslog.log show?

Dennis Handly
Acclaimed Contributor

Re: ssh connection Failed to allocate pty!

rariasn
Honored Contributor

Re: ssh cnonection Failed to allocate pty!

Hi:

 

Verify  MaxStartups parameter  "sshd" daemon.

 

MaxStartups
	     Specifies the maximum number of concurrent unauthenticated con-
	     nections to the sshd daemon.  Additional connections will be
	     dropped until authentication succeeds or the LoginGraceTime
	     expires for a connection.	The default is 10.

man "sshd_config".

 

rgs