PTY allocation request failed on channel 0 shell request failed on channel 0

If you encounter the following error while attempting to connect to your bolt via SSH, it’s likely due to specifying the wrong port during the connection.

PTY allocation request failed on channel 
0 shell request failed on channel 0

At Servebolt, we commonly observe this error when users attempt to connect using the wrong port. SSH and SFTP operate on port 22, so you can usually omit defining the port number in your SSH command or configuration.