0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Serverman VPS SSH接続が複数できない場合の対処

0
Posted at

目的

DTI Serverman VPS SSH接続が複数できない(※SSHログインが拒否される)ことがあったので、対処しました。

方法

仕組みは理解していないが、下記のページを参考に実施したらOKとなった。
セキュリティなどは考慮していないので、勉強したら追記したい。

参考:FIX: ssh openpty error session_pty_req session 0 alloc failed

詳細

コマンド入力(※即時反映)
/sbin/MAKEDEV tty
/sbin/MAKEDEV pty
mount -t devpts devpts /dev/pts

Permanent: 恒久対処は、下記fstabに記載を追加 ※今回はすでに存在したので、既存はコメントアウトしました。

/etc/fstab
# none   /dev/pts        devpts  rw,gid=5,mode=620       0       0
none    /dev/pts        devpts  defaults        0       0
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?