Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save runtimevic/0b75af238ea5be55940b48b6085b3bd3 to your computer and use it in GitHub Desktop.
Save runtimevic/0b75af238ea5be55940b48b6085b3bd3 to your computer and use it in GitHub Desktop.

Revisions

  1. @dragonfire1119 dragonfire1119 created this gist Jun 19, 2023.
    33 changes: 33 additions & 0 deletions how-to-ssh-into-a-proxmox-container.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,33 @@
    # Proxmox

    So if you're using Proxmox you need to open up ssh and run the following commands:

    1. Setup a root password

    ```bash
    sudo passwd root
    ```

    2. Enable ssh

    ```bash
    nano /etc/ssh/sshd_config
    ```

    3. Change the following line:

    ```bash
    PermitRootLogin without-password
    ```

    to

    ```bash
    PermitRootLogin yes
    ```

    4. Restart ssh

    ```bash
    systemctl restart sshd
    ```