开始时zssh无法启动和显示“退出pty”。

时间:2022-06-01 17:41:12

In CentOS 6.5, yum install zssh, but when I execute zssh, it gives an error showing: out of pty's.

在CentOS 6.5中,yum安装zssh,但是当我执行zssh时,它会显示一个错误:从pty's中出来。

What does this mean? How to solve this?

这是什么意思?如何解决呢?

2 个解决方案

#1


0  

You can see the list of used ptys with

您可以看到使用的ptys列表。

ls /dev/pts

The maximum number of ptys is given by

ptys的最大数目由

cat /proc/sys/kernel/pty/max

That value can be configured in

可以在其中配置该值

/etc/sysctl.conf

(see man pty)

(见人企业)

Note that some versions of the kernel were buggy.

注意,内核的一些版本存在bug。

The ptys, or pseudo terminals are the 'channels' through which a process interacts with the user console (keyboard and screen)

ptys或pseudo终端是通过该通道与用户控制台(键盘和屏幕)交互的“通道”

#2


0  

There seems to be some weird library mismatch bug that cropps up in some binary distributions. See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=769366. Has not been tracked down, but a simple recompile seems to be a workaround.

在一些二进制发行版中似乎存在一些奇怪的库不匹配错误。见https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=769366。还没有找到,但是一个简单的重新编译似乎是一个解决方案。

#1


0  

You can see the list of used ptys with

您可以看到使用的ptys列表。

ls /dev/pts

The maximum number of ptys is given by

ptys的最大数目由

cat /proc/sys/kernel/pty/max

That value can be configured in

可以在其中配置该值

/etc/sysctl.conf

(see man pty)

(见人企业)

Note that some versions of the kernel were buggy.

注意,内核的一些版本存在bug。

The ptys, or pseudo terminals are the 'channels' through which a process interacts with the user console (keyboard and screen)

ptys或pseudo终端是通过该通道与用户控制台(键盘和屏幕)交互的“通道”

#2


0  

There seems to be some weird library mismatch bug that cropps up in some binary distributions. See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=769366. Has not been tracked down, but a simple recompile seems to be a workaround.

在一些二进制发行版中似乎存在一些奇怪的库不匹配错误。见https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=769366。还没有找到,但是一个简单的重新编译似乎是一个解决方案。