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

If you get the following error when trying to SSH to your bolt, it is likely because you have specified the wrong port when connecting to SSH.

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

On Servebolt we usually see this error when the user has tried to connect using the port we use for SFTP (port 1022) when trying to connect to SSH which we have configured on the standard port for SSH (port 22)

SSH is on the SSH default port 22, so can usually just skip defining the port number in your SSH command or configuration.