Hello,
In my case, I have the same problem on Debian 11 after install selinux and set enforcing to ON.
ssh with -vvv option show me
Quote:
/bin/bash: Permission Danied
|
I was able to log in via proxmox console to my vm system.
Next I search ssh selinux booleans
Code:
getsebool -a | grep ssh
and in my debian ssh_sysadm_login option was set to off, then I turn on ssh_sysadm_login
Code:
setsebool -P ssh_sysadm_login on
And all work fine.