Hello folks,
I was happily using my OMV 1.19 when all of a sudden the SSH Root Access (protected by google multi factor auth) stopped working.
It does not recognize the password anymore and it does not ask for the Google Authentication Code,
I can logon on the WEBUI, but that is it.
If I could edit the SSD_CONFIG file, I'd try to remove the "Use PAM" option, it helped me fix problems with the other NAS I have.
I tried the procedure to create a public key, but I get the error <<permission denied public key>>
I realy need to get SSH ROOT back up, what can I troubleshoot?
Code
Protocol 2
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
UsePrivilegeSeparation yes
KeyRegenerationInterval 3600
ServerKeyBits 768
SyslogFacility AUTH
LogLevel INFO
LoginGraceTime 120
StrictModes yes
RSAAuthentication yes
PubkeyAuthentication yes
IgnoreRhosts yes
RhostsRSAAuthentication no
HostbasedAuthentication no
PermitEmptyPasswords no
ChallengeResponseAuthentication no
X11Forwarding yes
X11DisplayOffset 10
PrintMotd no
PrintLastLog yes
TCPKeepAlive yes
AcceptEnv LANG LC_*
Subsystem sftp /usr/lib/openssh/sftp-server
UsePAM yes
AllowGroups root ssh
AddressFamily any
Port 22
PermitRootLogin yes
AllowTcpForwarding no
Compression yes
PasswordAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys .ssh/authorized_keys2 /var/lib/openmediavault/ssh/authorized_keys/%u
PubkeyAuthentication yes
Alles anzeigen