openssh-3.6.1p2 server did not accept user connection.

Darren Tucker dtucker at zip.com.au
Wed Apr 27 16:24:01 EST 2005


Logu wrote:
> Whenever i boot the machine, the sshd started using rc script is not
> accepting ssh connection from a normal user. However it connects as root
> user and also connects as a user when the sshd is restarted. The error
> message is
> "fatal: PAM session setup failed[6]: Permission denied"
> 
> What would be the reason for this behaviour ?
> 
> I am using Linux-2.6.5-1.358 (Fedora Core release 2) and openssh version
> (OpenSSH_3.6.1p2, SSH protocols 1.5/2.0, OpenSSL 0x0090701f ) which came
> with the distribution. The debug out is given below.

There was an issue with selinux and sshd.  See:
http://marc.theaimsgroup.com/?l=openssh-unix-dev&m=108608103318162

If booting with selinux disabled solves your problem then that's 
probably it.

-- 
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.




More information about the openssh-unix-dev mailing list