Server refused to allocate pty (NetBSD PV guest but probably related to PV Linuxes as well)
If you faced this kind of error on your terminal
login as: ****
Keyboard-interactive authentication prompts from server:
| Password for ****@hostname.tld:
End of keyboard-interactive prompts from server
Server refused to allocate pty
especially often in PV guest of XEN this means that there are no available terminals you can be attached to.
Fix is easy, and for NetBSD is just one command
mount_ptyfs ptyfs /dev/pts
This creates pseudo filesystem mounted on /dev/pts
Every next login when "normal" terminal - tty is not available you will be redirected to /dev/pts