March-6th-2018, 01:02 PM
The error is easy to explain:
if you look to our image https://hub.docker.com/r/hilschernetpi/n...n-stretch/, you see the Docker file uses this line which is made for Debian stretch
&& sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config \
you are using the line for debian:jessie
&& sed -i 's/PermitRootLogin without-password/PermitRootLogin yes/' /etc/ssh/sshd_config \
The sshd_config file has been change from one debian OS to the other using "prohibit-password" instead of "without-password".
if you look to our image https://hub.docker.com/r/hilschernetpi/n...n-stretch/, you see the Docker file uses this line which is made for Debian stretch
&& sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config \
you are using the line for debian:jessie
&& sed -i 's/PermitRootLogin without-password/PermitRootLogin yes/' /etc/ssh/sshd_config \
The sshd_config file has been change from one debian OS to the other using "prohibit-password" instead of "without-password".
„You never fail until you stop trying.“, Albert Einstein (1879 - 1955)