Enabling SSH on Elastic Metal servers running Proxmox VE
Published on 14 December 2022
Proxmox VE is a complete, open-source server management platform for virtualization. It combines the KVM hypervisor and Linux Containers (LXC), storage and networking features - manageable through a web-based user interface. However SSH connections to the Proxmox VE host are disabled by default for security reasons.
If you require SSH access to your Elastic Metal server, you can enable SSH on your machine after the installation of Proxmox from the Scaleway console.
Requirements:
- You have an account and are logged into the Scaleway console
- You have created and installed an Elastic Metal server with Proxmox VE
- Log in to the Proxmox web interface of your Elastic Metal server.
Tip:
You can find the URL of the Proxmox VE interface on the overview page of your Elastic Metal server in the Scaleway console.
- Select your server in the Datacenter view of Proxmox.
- Click Shell in the server view to open a shell in the web interface.
- Open the file
/etc/ssh/sshd_config
in a text editor. - Go go the line
#PermitRootLogin
and uncomment it by removing the#
. Change the option to yes:[...]
PermitRootLogin yes
[...] - Save the file and quit the text editor.
- Restart the SSH service to enable SSH login.
You can now use SSH on your Elastic Metal server. Use the login
systemctl restart ssh
root
and your Proxmox password when connecting to the machine.