I’ve been playing with Xen on a Debian host machine. I created a couple of guest machines using xen-create-image (set to use debootstrap to automatically install + configure a basic Debian install on the guest), and was unable to SSH to the guests – I got:
[davidp@masterplan ~]$ ssh 10.1.1.20 -l root
PTY allocation request failed on channel 0
stdin: is not a tty
I struggled with this for a while, for some reason accessing the guest’s console with xm console didn’t seem to work either.
However, I now managed to get console access to one of them using xm console domain, and found that /dev/pts wasn’t mounted – it wasn’t listed in the fstab file that had been created.
I added the following to /etc/fstab :
none /dev/pts devpts defaults 0 0
Now I can SSH to the guests. :)