Skip to content

Commit cbd0f1d

Browse files
Update documentation to explain how to login via ssh using the laradock user
1 parent 9b328cc commit cbd0f1d

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

  • DOCUMENTATION/content/documentation

DOCUMENTATION/content/documentation/index.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1092,7 +1092,18 @@ To change the default forwarded port for ssh:
10921092
...
10931093
```
10941094

1095+
Then login using:
10951096

1097+
```bash
1098+
ssh -o PasswordAuthentication=no \
1099+
-o StrictHostKeyChecking=no \
1100+
-o UserKnownHostsFile=/dev/null \
1101+
-p 2222 \
1102+
-i workspace/insecure_id_rsa \
1103+
laradock@localhost
1104+
```
1105+
1106+
To login as root, replace laradock@locahost with root@localhost.
10961107

10971108
<br>
10981109
<a name="Change-the-MySQL-Version"></a>

0 commit comments

Comments
 (0)