diff --git a/DOCUMENTATION/content/documentation/index.md b/DOCUMENTATION/content/documentation/index.md index be16c0b4..35320840 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 7d8daea6..f3e1eb49 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 c2aa3c9e..a240a1fd 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 2df347cb..18b42a0b 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 c4cfa8bb..8e3cb9c3 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: