How to fix request failed on channel 0

后端 未结 20 2568
甜味超标
甜味超标 2020-12-04 16:42

When I want to connect to my server like this

ssh -a username@my-server.de -p 22

it gives me two error messages:

PTY alloca         


        
20条回答
  •  温柔的废话
    2020-12-04 17:10

    remounting /dev/pts works for me. you can do this remotely via ssh if you run ssh like this against the affected machine. ssh doesn't request a tty when running commands like this and therefore this will allow you to remount /dev/pts remotely

    ssh user@host -- 'mount -o remount,rw /dev/pts'

提交回复
热议问题