Merge pull request #1399 from mariano-dagostino/1372-ssh

Make possible to login via ssh using the laradock user.
This commit is contained in:
Mahmoud Zalt 2018-03-25 19:14:10 +03:00 committed by GitHub
commit 805d7f94e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 18 additions and 2 deletions

View File

@ -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.
<br>
<a name="Change-the-MySQL-Version"></a>

View File

@ -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
#####################################

View File

@ -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
#####################################

View File

@ -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:

View File

@ -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: