OS/HP-UX

HP-UX 서버에서 ssh 접속 오류

python24 2011. 1. 20. 14:30

HP-UX 서버에서 ssh 접속 오류


* ssh 접속 시 아래 오류 메시지 발생하면서 접속 불가


Server refused to allocate pty

ttytype: could't open /dev/tty for reading

stty:  : Not a typewriter    stty:  : Not a typewriter



* 원인 : "error: /dev/ptmx: Device busy" is a real problem. The error you are getting makes a sense for this problem.


* 조치 : The "/dev/ptmx" is a Master pty driver . This device driver should get accessed so that alongwith slave device driver "/dev/pts/<n>" , it will allow the terminal connection.
Check who is using the "/dev/ptmx" device using
# fuser -u /dev/ptmx
You need to kill those processes using
# fsusr -ku /dev/ptmx

Then you should able to log-in.