How to trace, debug and narrow down ssh(1) failures reporting "Server refused to allocate pty"? (Doc ID 2180166.1)

Last updated on SEPTEMBER 08, 2016

Applies to:

Solaris Operating System - Version 9 GA and later
Information in this document applies to any platform.

Goal

When one encounters a message with "Server refused to allocate pty" when ssh(1) into a Solaris machine, one may normally be quick to conclude that this is a pty(pseudo terminal) exhaustion issue. In truth, this can be the result from various issues.

This document attempts to provide general troubleshooting steps to trace and narrow down the underlying issue that caused the "Server refused to allocate pty" failure on Solaris system. This will allow the right support team to be engaged to resolve the actual underlying issue.

 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms