Server refused to allocate pty错误解决



Server refused to allocate pty错误解决
 
今天在启动虚拟机的时候,想从宿主机ssh到虚拟机,但是输入用户名
与密码后,出现以下错误:
  www.2cto.com  
Server refused to allocate pty
 
在虚拟机中做如下操作可解决问题:
 
mknod -m 666 /dev/ptmx c 5 2
#chmod 666 /dev/ptmx
mkdir /dev/pts
 
#编辑/etc/fstab,加入:
none /dev/pts devpts gid=5,mode=620 0 0
mount /dev/pts

相关内容

    暂无相关文章