The SSH console is timing out and I'm not able to execute any commands.
I've noticed that I can execute commands remotely but when I try to allocate TTY it hangs:
Works:
$ ssh [email protected] "uname -a"
Linux example.com 2.6.32-504.el6.x86_64 #1 SMP Tue Sep 16 01:56:35 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux
Hangs:
$ ssh -t [email protected] "uname -a"
$ ssh [email protected] "dmesg"
tty_ldisc_hangup: waiting (sshd) for pts1 took too long, but we keep waiting...
- OS: RHEL 6.6
- Kernel: kernel-2.6.32-504.el6.x86_64
It looks like the problem was related to
hpsa module
shipped with kernelkernel-2.6.32-504.el6.x86_64
.