Centos 6 SSH "Server refused to allocate pty"

Discussion in 'Proxmox VE: Installation and configuration' started by Kephin, Jan 14, 2019.

  1. Kephin

    Kephin New Member

    Joined:
    Apr 21, 2015
    Messages:
    8
    Likes Received:
    0
    Some recent-ish Proxmox 5 updates seems to have caused an issue on my end with Centos 6 containers.
    I have a couple of Centos 6 containers still that have been migrated from Proxmox 3.5 to 5. (so openvz to lxc)
    These used to work fine, but in a recent update round SSH "became broken", getting an "Server refused to allocate pty" error upon logging in. Console via GUI also not responsive.
    I have to connect to the container by oppening ssh to the node and then using lxc-attach.

    Searching for the error reveals several (old) topics of things to try but none seem to work.

    I've restored a backup as a test container to fiddle with, and sure enough moving it between updated (updated today) and "non-updated" (last node reboot was about three months ago) nodes results in having or not having this error upon respectively trying to login on SSH.
    Centos 7 containers do not seem affected by this.

    I'm kind of lost as to where to go from here.
    Is this issue known, does anybody have any tips?
     
  2. Kephin

    Kephin New Member

    Joined:
    Apr 21, 2015
    Messages:
    8
    Likes Received:
    0
    Sometimes you gotta say stuff alound to think of other things.
    Tried directly searching this forum.
    Found this in another recent topic here:

    https://forum.proxmox.com/threads/r...er-refused-to-allocate-pty.50407/#post-234530

    Commenting out this devpts rule in fstab seems to have a positive result.

    Will try this on the "real" container later this evening so I can reboot the thing without causing mayhem.
     
    #2 Kephin, Jan 14, 2019
    Last edited: Jan 14, 2019
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice