1.8 KiB
1.8 KiB
| route | allow_guest | published |
|---|---|---|
| console-access | 1 | 1 |
How to get Server Access:
For f7-mumbai.jingrow.cloud
- Open User SSH Certificate List.
- Create User SSH Certificate for the server you want access to, in this case
f7-mumbai.jingrow.cloud. - Fill details such as server name, reason for accessing the server, validity period for eg. 6 Hrs.
- Click on Copy Certificate Details, it will copy the certificate in the clipboard and then paste it in your terminal.
- Now click on Copy SSH Command, it will copy the SSH command in the clipboard and then paste it in your terminal.
- You should be able to access the jingrow user in
f7-mumbai.jingrow.cloudserver.
How to get Bench Console Access:
For bench-0032-000631-f1
For old style benches:
$ ssh f1.jingrow.cloud -l jingrow
jingrow@f1:~$ docker container ls | grep bench-0032-000631-f1 | grep web
For new style benches:
$ ssh f1.jingrow.cloud -l jingrow
jingrow@f1:~$ docker container ls | grep bench-0032-000631-f1
This would show an output similar to
ad8b1b6ac859 registry.jingrow.cloud/production/jingrow.cloud/bench-0032:deploy-0032-000631 "/home/jingrow/jingrow…" 12 days ago Up 12 days 8000/tcp bench-0032-000631-f1_web.1.dwwpbeewfsxsakcsl3o3anyxp
The first string in the output is the container ID and you can use it with docker exec. e.g.
jingrow@f1:~$ docker exec -it ad8b1b6ac859 bash
Which will drop you in the sites directory of the bench
jingrow@ad8b1b6ac859:~/jingrow-bench/sites$
jingrow@ad8b1b6ac859:~/jingrow-bench/sites$ cd ..
jingrow@ad8b1b6ac859:~/jingrow-bench$ ls
apps config env logs sites
