【问题标题】:PTY allocation request failed on channel 0 when SSHSSH 时,通道 0 上的 PTY 分配请求失败
【发布时间】:2018-03-23 03:15:52
【问题描述】:

我试过这个:

rm -rf /dev/ptmx 
mknod /dev/ptmx c 5 2 
chmod 666 /dev/ptmx 
umount /dev/pts 
rm -rf /dev/pts 
mkdir /dev/pts 
mount /dev/pts 

但我遇到了:

umount: /dev/pts: 设备正忙。 (在某些情况下,有关使用的进程的有用信息 该设备被 lsof(8) 或 fuser(1)) 找到

参数-v 显示了这个调试输出:

debug1: Authentication succeeded (password).
Authenticated to xx.xxx.xx.xxx ([xx.xxx.xx.xxx]:22).
debug1: channel 0: new [client-session]
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug1: pledge: network

我现在不知道...

【问题讨论】:

标签: ssh centos


【解决方案1】:

对于那些使用 CentOS 6 32Bit 的人,这里是可能的解决方案:

  1. 登录我们的网络面板
  2. 单击“NoVNC 控制台”并以 root 身份登录
  3. 然后编辑 /etc/rc.sysinit 并查找以下行:/sbin/start_udev 删除该行并重新启动容器,您就可以开始了!

结束

【讨论】:

    猜你喜欢
    • 2017-02-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-04-20
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多