From 050bc993eafb021d732aacc263af5fb657a7efea Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 5 May 2014 11:48:04 -0400 Subject: [PATCH] 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 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index faf95c24..9426e6fd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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/