Tuesday, 3 June 2025

ssh server moodle di

 Linux moodle-1-vm 6.1.0-37-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
       ___ _ _                   _
      | _ |_) |_ _ _  __ _ _ __ (_)
      | _ \ |  _| ' \/ _` | '  \| |
      |___/_|\__|_|_|\__,_|_|_|_|_|

  -> Welcome to Bitnami LMS powered by Moodle(TM) LMS 5.0.0
  -> Documentation:   https://docs.bitnami.com/google/apps/moodle/
  -> Bitnami Support: https://github.com/bitnami/vms/issues
utuhglobal@moodle-1-vm:~$ wget https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb
--2025-06-03 12:52:41--  https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb
Resolving github.com (github.com)... 20.27.177.113
Connecting to github.com (github.com)|20.27.177.113|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github.com/cloudflare/cloudflared/releases/download/2025.5.0/cloudflared-linux-amd64.deb [following]
--2025-06-03 12:52:42--  https://github.com/cloudflare/cloudflared/releases/download/2025.5.0/cloudflared-linux-amd64.deb
Reusing existing connection to github.com:443.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/106867604/9e5400a4-4cb7-46d5-9863-40f617b2d4ce?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20250603%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250603T125242Z&X-Amz-Expires=300&X-Amz-Signature=da178afd399cfb11e66bf3a62ab8d2ec601d5de79c80912c6116bf32739be2df&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Dcloudflared-linux-amd64.deb&response-content-type=application%2Foctet-stream [following]
--2025-06-03 12:52:42--  https://objects.githubusercontent.com/github-production-release-asset-2e65be/106867604/9e5400a4-4cb7-46d5-9863-40f617b2d4ce?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20250603%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250603T125242Z&X-Amz-Expires=300&X-Amz-Signature=da178afd399cfb11e66bf3a62ab8d2ec601d5de79c80912c6116bf32739be2df&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Dcloudflared-linux-amd64.deb&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.109.133, 185.199.108.133, 185.199.110.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.109.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 18558876 (18M) [application/octet-stream]
Saving to: ‘cloudflared-linux-amd64.deb’

cloudflared-linux-amd64.deb 100%[==========================================>]  17.70M  18.9MB/s    in 0.9s    

2025-06-03 12:52:44 (18.9 MB/s) - ‘cloudflared-linux-amd64.deb’ saved [18558876/18558876]

utuhglobal@moodle-1-vm:~$ sudo dpkg -i cloudflared-linux-amd64.deb
Selecting previously unselected package cloudflared.
(Reading database ... 80542 files and directories currently installed.)
Preparing to unpack cloudflared-linux-amd64.deb ...
Unpacking cloudflared (2025.5.0) ...
Setting up cloudflared (2025.5.0) ...
Processing triggers for man-db (2.11.2-2) ...
utuhglobal@moodle-1-vm:~$ cloudflared tunnel login
Please open the following URL and log in with your Cloudflare account:

https://dash.cloudflare.com/argotunnel?aud=&callback=https%3A%2F%2Flogin.cloudflareaccess.org%2F_C2WZPGL_erFjF_YeqwGy7uoPytg71PzombKe5AP2k4%3D

Leave cloudflared running to download the cert automatically.
2025-06-03T12:54:52Z INF Waiting for login...
2025-06-03T12:55:46Z INF Waiting for login...
2025-06-03T12:56:41Z INF Waiting for login...
2025-06-03T12:57:35Z INF Waiting for login...
2025-06-03T12:58:02Z INF You have successfully logged in.
If you wish to copy your credentials to a server, they have been saved to:
/home/utuhglobal/.cloudflared/cert.pem

utuhglobal@moodle-1-vm:~$ cloudflared tunnel create moodle-tunnel
Tunnel credentials written to /home/utuhglobal/.cloudflared/513840d2-0a37-4ac4-becd-158be81c615b.json. cloudflared chose this file based on where your origin certificate was found. Keep this file secret. To revoke these credentials, delete the tunnel.

Created tunnel moodle-tunnel with id 513840d2-0a37-4ac4-becd-158be81c615b

Share:

0 comments:

Post a Comment