New container - password and SSH keys

rd1218

New Member
Oct 20, 2023
11
0
1
When I create a container, I have the option to inform password and/or SSH key. If I inform SSH key, it's allowed not to inform password.

In case only SSH key is informed, how can I access via shell at Proxmox itself?
Since I didnt' inform a password, this seems to be not possible.

My case is still a test machine, but maybe this could lead to unreachable machine due to some mistake at firewall rules. But I still would like to know better this.

proxmox_create_container.PNG
 
Here are a few of many articles available on the web on this subject:
https://phoenixnap.com/kb/ssh-with-key
https://upcloud.com/resources/tutorials/use-ssh-keys-authentication
https://www.digitalocean.com/commun...als-working-with-ssh-servers-clients-and-keys

The following google search was used: "how to use ssh key"


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
Thanks, but I think you got the wrong understanding, I'm not questioning how to use SSH key. Sorry if my question misplaced your thoughts.
My doubt is related to the print shown: proxmox interface allows user to insert only SSH key, without a password.
In such case I would have access to the machine via SSH, but I couldn't use "Console" directly at proxmox (Datacenter > ... > instance > Console) because it requires unavailable credentials (user/password) for login.
If, for any reason given, the only available way to access that instance is with the afore mentioned "Console", then I wouldn't have access due to the lack of password.
 
Last edited:
  • Like
Reactions: rd1218

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!