diff --git a/DOCUMENTATION/content/documentation/index.md b/DOCUMENTATION/content/documentation/index.md index be16c0b..3532084 100644 --- a/DOCUMENTATION/content/documentation/index.md +++ b/DOCUMENTATION/content/documentation/index.md @@ -1094,7 +1094,18 @@ To change the default forwarded port for ssh: ... ``` +Then login using: +```bash +ssh -o PasswordAuthentication=no \ + -o StrictHostKeyChecking=no \ + -o UserKnownHostsFile=/dev/null \ + -p 2222 \ + -i workspace/insecure_id_rsa \ + laradock@localhost +``` + +To login as root, replace laradock@locahost with root@localhost.
diff --git a/workspace/Dockerfile-56 b/workspace/Dockerfile-56 index 7d8daea..f3e1eb4 100644 --- a/workspace/Dockerfile-56 +++ b/workspace/Dockerfile-56 @@ -55,6 +55,7 @@ ENV PGID ${PGID} RUN groupadd -g ${PGID} laradock && \ useradd -u ${PUID} -g laradock -m laradock && \ + usermod -p "*" laradock && \ apt-get update -yqq ##################################### diff --git a/workspace/Dockerfile-70 b/workspace/Dockerfile-70 index c2aa3c9..a240a1f 100644 --- a/workspace/Dockerfile-70 +++ b/workspace/Dockerfile-70 @@ -55,6 +55,7 @@ ENV PGID ${PGID} RUN groupadd -g ${PGID} laradock && \ useradd -u ${PUID} -g laradock -m laradock && \ + usermod -p "*" laradock && \ apt-get update -yqq ##################################### diff --git a/workspace/Dockerfile-71 b/workspace/Dockerfile-71 index 2df347c..18b42a0 100644 --- a/workspace/Dockerfile-71 +++ b/workspace/Dockerfile-71 @@ -54,7 +54,8 @@ ENV PUID ${PUID} ENV PGID ${PGID} RUN groupadd -g ${PGID} laradock && \ - useradd -u ${PUID} -g laradock -m laradock + useradd -u ${PUID} -g laradock -m laradock && \ + usermod -p "*" laradock ##################################### # SOAP: diff --git a/workspace/Dockerfile-72 b/workspace/Dockerfile-72 index c4cfa8b..8e3cb9c 100644 --- a/workspace/Dockerfile-72 +++ b/workspace/Dockerfile-72 @@ -54,7 +54,9 @@ ENV PUID ${PUID} ENV PGID ${PGID} RUN groupadd -g ${PGID} laradock && \ - useradd -u ${PUID} -g laradock -m laradock + useradd -u ${PUID} -g laradock -m laradock && \ + usermod -p "*" laradock + ##################################### # SOAP: