Help Please - Putty and Ubuntu 22.04

RichardHancox

New Member
Jan 29, 2024
7
0
1
Hi All,

I have been using Proxmox for a while now, have two nodes, proficient in the use of Putty etc.
However............
After creating an Ubuntu 22.04 instance, installing openssh server, enabling and starting ssh I still cannot access the ubuntu instance form Putty with the password I use to login to the ubuntu instance in the proxmox shell window. Now, I assume (maybe wrongly) its the same username and password I setup for that instance so should work.

Nope, access denied.

Am I missing something? I really dont want to have to rely on using the instance shell console command line, I would rather use putty.

Help would be appreciated, many thanks
 
Hi,

most Linux distros nowadays don't allow the root user to log in via SSH when using a password as a security precaution.
You can allow this in the SSH config in your container at /etc/ssh/sshd_config by setting PermitRootLogin to yes, but I would instead recommend learning how to use SSH keys. Most popular SSH clients, including PuTTY, support them and in my personal opinion, they are much nicer to use than passwords once you have them set up.
 
  • Like
Reactions: RichardHancox
Hi,

most Linux distros nowadays don't allow the root user to log in via SSH when using a password as a security precaution.
You can allow this in the SSH config in your container at /etc/ssh/sshd_config by setting PermitRootLogin to yes, but I would instead recommend learning how to use SSH keys. Most popular SSH clients, including PuTTY, support them and in my personal opinion, they are much nicer to use than passwords once you have them set up.
thankyou for your reply, I will take a look now