Hello,
I started hardening my centos servers (running as KVM, not containers) by disabling SSH access for root, and creating a dummy user for SSH only which will be the only user that will be able to SSH. I did not create a home folder for this user thinking it would be more "secure". That was a mistake.
Now I cannot login through SSH with this user because SSH is issuing an error like
Of course I cannot SSH as root since it is deactivated. The only way to login to the VM is from the Proxmox Java VNC console, but the problem is that my passwords are 64 characters long, alphanumeric with special characters. I tried entering the password manually (good luck) but I failed at each attempts, either making a mistake, or the password prompt timing out and returning to the "login:" prompt before I was done entering the password...
Basically, having a copy paste function in the Java VNC console would save me... What does Proxmox offers to mitigate this disaster?
I started hardening my centos servers (running as KVM, not containers) by disabling SSH access for root, and creating a dummy user for SSH only which will be the only user that will be able to SSH. I did not create a home folder for this user thinking it would be more "secure". That was a mistake.
Now I cannot login through SSH with this user because SSH is issuing an error like
Code:
Could not chdir to home directory /home/sshuser: No such file or directory
Of course I cannot SSH as root since it is deactivated. The only way to login to the VM is from the Proxmox Java VNC console, but the problem is that my passwords are 64 characters long, alphanumeric with special characters. I tried entering the password manually (good luck) but I failed at each attempts, either making a mistake, or the password prompt timing out and returning to the "login:" prompt before I was done entering the password...
Basically, having a copy paste function in the Java VNC console would save me... What does Proxmox offers to mitigate this disaster?