Bug#248133: Debian bug #248133: sshd: access denied: tty 'ssh' is not secure
Hi.
Your pam_securetty problem might be due to other pam configs being
loaded by pam_stack, check /etc/pam.d/sshd. You could also add "ssh" to
/etc/securetty.
In SSH, authentication happens well before a pty is allocated, so in
theory PAM_TTY should not be set at all. Unfortunately, some dumb PAM
modules will break (ie segfault) if it's unset so sshd sets PAM_TTY to
"ssh".
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
Reply to: