11.27.2014

ssh doesn't work after ignite recovery

ssh connections have errors after doing an ignite recovery. If the
following shows up in syslog:
sshd[14702]: error: openpty: No such file or directory
sshd[14704]: error: session_pty_req: session 0 alloc failed

check another server with ssh working using lsof and you'll find
/dev/ptmx reference:
sshd 22391 root 7u STR 156,0 0t41177 2935 /dev/ptmx->ptm

re-create the device file using mknod to this:
crw-rw-rw- 1 root root 72 0x00009c Nov 27 04:23 /dev/ptmx


Also /dev/klog was missing (as seen in syslog) after the ignite recovery:
crw------- 1 bin bin 189 0x000000 Dec 22 2010 /dev/klog

No comments: