Confirming that this bug is still open: I freshly installed Debian testing 
"Jessie" with only SSH Server from tasksel and I was not able to login using 
root, although it is possible to do so in Wheezy.

> Workaround: comment out this line in /etc/pam.d/ssh:
> 
> session required pam_loginuid.so
Didn't work. (In fact I reverted all changes to /etc/pam.d/ssh after seeing 
that next step was successful)

> Downgrading openssh-server to the version on stable (1:6.0p1-4) fixed the 
problem.
This was the helping hint, thank you very much! Additionally, root login must 
be enabled. After all, all that should be needed to downgrade and enable:

echo "deb http://ftp.de.debian.org/debian/ wheezy main" >> 
/etc/apt/sources.list
apt-get update
apt-get remove openssh-server
apt-get install openssh-server=1:6.0p1-4 openssh-client=1:6.0p1-4
sed -i "s/^PermitRootLogin without-password/PermitRootLogin yes/" 
/etc/ssh/sshd_config
/etc/init.d/ssh restart

Hope these steps help saving time the next one googling for "debian jessie 
enable root ssh" to workaround this bug ;)


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to