Artica Wiki

PTY allocation request failed

When connecting on SSH to your Artica server, you receive PTY allocation request failed on channel 0

The error "PTY allocation request failed on channel 0" typically occurs when you try to establish an SSH connection, and the server denies or cannot allocate a pseudo-terminal (PTY). This can be due to misconfigurations on the server or client side, or because you're running a command where no PTY is needed.

Error example:

user@art:~$ ssh root@articaserv
user@articaserv's password:  
PTY allocation request failed on channel 0
Connection to articaserv closed by remote host.
Connection to articaserv closed.

On the left menu, go to Your system > OpenSSH server