Bobcares

Cloudflare Bitnami Enable SSH | How To?

by | Oct 11, 2022

How to enable SSH on Cloudflare with Bitnami? Let’s take a closer look at the process in this article. With Server Management Services, Bobcares offers solutions to your server-related queries.

Cloudflare-Bitnami Enable SSH

Through the Cloudflare website, users can configure SSL access to web applications using HTTPS. Without having to make server configuration changes, this is the simplest way to secure websites.

cloudflare bitnami enable ssh

We can follow the below steps to enable SSH on Cloudflare with Bitnami.

  • With Cloudflare, enable SSL access over HTTPS
  • Use SSH tunneling to connect to the server

Enable SSL Access

  1. Firstly, login to the Cloudflare account.
  2. In order to add the website, select “+ Add Site.”
  3. Enter the domain name on the new screen and select “Add site” to carry on.
  4. Confirm the plan considering the needs.
  5. Examine the domain’s configuration, and if we need more DNS records, add them. Then click Continue.
  6. Choose the SSL/TLS full encryption mode checkbox under the “Overview” tab. In this manner, the website will be secure by connecting to the server using a self-signed certificate.
  7. To turn on the “Always use HTTPS” button, scroll down. To complete the procedure, click “Finish.”

The above steps protect the site with a self-signed certificate.

Server Access Using SSH Tunnelling

Bitnami strongly advises against using any other server ports besides the ones that are already set up by default. Bitnami advises building an SSH tunnel as opposed to opening the port in the server firewall if we need to access a server remotely on a specific port.

On Windows

For Windows and UNIX platforms, we’ve chosen PuTTY, a free SSH client. Assuming the SSH client is properly set up, tested, and we can connect to the instance using SSH, we must now create an SSH tunnel.

  1. Create a secure tunnel by forwarding a port (the “destination port”) on the remote server to a port (the “source port”) on the local host in the “Connection -> SSH -> Tunnels” section (127.0.0.1 or localhost).
  2. Click the “Add” button to add the secure tunnel settings to the session.
  3. Click the “Save” button to save the changes in the “Session” section.
  4. To launch an SSH connection to the server, click the “Open” button. A secure SSH tunnel between the two specified ports will now be included in the SSH session.

When the tunnel is active, visiting http://127.0.0.1:SOURCE-PORT/ or http://localhost:SOURCE-PORT/ should allow us to access the application through the secure SSH tunnel we set up. Don’t forget to substitute the specified source port number for SOURCE-PORT.

On Linux and Mac

Follow the instructions below to use an SSH tunnel to connect to the server on a particular port.

  1. On your local system, launch a new terminal window.
  2. We require the following details in order to use an SSH tunnel to connect to the server on a particular port: the IP address of the server and the SSH key at hand.
  3. Run the following command to configure the SSH tunnel. Remember to replace SOURCE-PORT with the source port, DESTINATION-PORT with the destination port, KEYFILE with the path to the private key, and SERVER-IP with the public IP address or hostname of the server:
    ssh -N -L SOURCE-PORT:127.0.0.1:DESTINATION-PORT -i KEYFILE bitnami@SERVER-IP

    If successful, the above command will create an SSH tunnel but will not display any output on the server console.

When the tunnel is active, visiting http://127.0.0.1:SOURCE-PORT/ or http://localhost:SOURCE-PORT/ should allow us to access the application through the secure SSH tunnel we set up. Don’t forget to substitute the specified source port number for SOURCE-PORT.

[Need help with another issue? We’re here to help.]

Conclusion

In this article, we provide the steps to enable Cloudflare SSH on Bitnami.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.