An issue with OpenSSH, when an account is locked it doesn't check the authorized_keys file anymore (see http://grid.ncsa.illinois.edu/ssh/ts_server.html, http://stackoverflow.com/questions/15664561/ssh-key-asks-for-password)

Running passwd -d git fixes this
This commit is contained in:
unknown 2014-05-05 11:48:04 -04:00
parent e2eb91c170
commit 050bc993ea

View File

@ -20,7 +20,7 @@ RUN /app/setup/install
ADD assets/config/ /app/setup/config/
ADD assets/init /app/init
RUN chmod 755 /app/init
RUN chmod 755 /app/init && passwd -d git
ADD authorized_keys /root/.ssh/