vmware-marketplace

Enable or disable the SSH server

Enable the SSH server

The SSH server is disabled by default in Bitnami OVAs. However, some applications (like GitLab) require SSH access to import code repositories.

To enable the SSH server, execute the commands below at the server console:

    $ sudo rm -f /etc/ssh/sshd_not_to_be_run
    $ sudo systemctl enable sshd
    $ sudo systemctl start sshd

Disable the SSH server

The SSH server is disabled by default in the Bitnami OVAs. If you have enabled it, you can disable it following the opposite steps:

    $ sudo systemctl stop sshd
    $ sudo systemctl disable sshd
Last modification February 9, 2021