Enable SSH on a Proxmox container

How Can We Help?

Enable SSH on a Proxmox container

You are here:
< Back to the Wiki

When setting up a Proxmox (Debian) container it mostly comes with an OpenSSH server, however, the root user that Proxmox creates is not able to use it. This article will explain how to enable SSH access for this user.

Enable SSH

On your Proxmox (Debian) container, open /etc/ssh/sshd_config. Locate the PermitRootLogin key or add it with the following configuration:

PermitRootLogin yes

Save the file and restart the OpenSSH server using systemctl restart sshd.

Now you are able to access your container using the root user which Proxmox added to the container.

Connect to SSH

SSH connections are two folded, you can either open a shell connection to the SSH server or you can open a file transfer session, also known as SFTP.

For Windows machines, you can use Putty (putty.org) for shell connections and WinSCP (winscp.net) for file transfers.

For Linux machines it is a bit simpler, you can simply connect using the ssh command for a shell connection. To utilize a file transfer you can use SFTP in Nautulis, by using sftp://root@x.x.x.x.

Sources

4 Responses

  1. Joel says:

    I admire the method in which you present ideas. Thanks for sharing this informative post with your readers.

  2. Bernardo says:

    Your blog holds my attention throughout. I find myself pulled into every word you write.

  3. Alexander says:

    Your writing resonates with me on a deep level. It’s like you’re writing for me!

  4. Terence says:

    I’ve added your website to my favorites; keep up the excellent content!

Leave a Reply to Joel Cancel reply

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

Table of Contents