[Lxc-users] "PTY allocation request failed on channel 0 - stdin: is not a tty"
Papp Tamas
tompos at martos.bme.hu
Sun Nov 27 09:07:31 UTC 2011
On 11/27/2011 05:54 AM, Patrick Kevin McCaffrey wrote:
> Hello,
>
> I'm trying to configure a few LXC guests on my Ubuntu machine. I have configured the container using the methods described at http://blog.bodhizazen.net/linux/lxc-linux-containers/ and http://blog.bodhizazen.net/linux/lxc-configure-ubuntu-lucid-containers/. However, I'm running into a problem when trying to connect to my container via ssh or the lxc-console. When I try to connect I get the following:
>
> PTY allocation request failed on channel 0
> stdin: is not a tty
>
> Any and all help would be appreciated. Let me know if I can post any configuration files or logs to assist.
>
hi,
Try this:
$ cat /etc/init/devpts.conf
start on startup
exec mount -t devpts none /dev/pts -o rw,noexec,nosuid,gid=5,mode=0620
tamas
More information about the lxc-users
mailing list