My Oracle Support Banner

Unable to ssh to a server- Receive error :Server refused to allocate pty (Doc ID 1903444.1)

Last updated on MAY 09, 2018

Applies to:

Solaris Operating System - Version 10 3/05 HW2 and later
Information in this document applies to any platform.


Customer is getting the message below at the server side when an ssh is made:

Jul  2 00:22:39 t2000-syd04-c sshd[9177]: error: /dev/ptmx: Permission denied
Jul  2 00:22:39 t2000-syd04-c sshd[9177]: error: session_pty_req: session 0 alloc failed

 and when they do ssh:

$ ssh -l user1  XX.XX.XX.XX
Oracle Corporation      SunOS 5.10      Generic Patch   January 2005
                                                                    DISPLAY set to: "topaz.local:15


They also , see error in verbose mode as below:

Server refused to allocate pty


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.