SSH Access denied

  • I am using the terminal in Ubuntu 18.04. Or cmd in Windows 10

    OK same as me then, so do ssh root@<hostname> or <ip address> of OMV then you get the password prompt, type in the wrong password and you get Permission denied, please try again. Do that three times and you get Permission denied (publickey, password)

  • OK same as me then, so do ssh root@<hostname> or <ip address> of OMV then you get the password prompt, type in the wrong password and you get Permission denied, please try again. Do that three times and you get Permission denied (publickey, password)

    Yes. I get that?

  • Yes. I get that?

    The the issue is the password, for me to get those errors I have entered rubbish as the password, but I have a user set up for me and I have just added myself to the ssh group and I can login with my user name, I can even change my password and I can ssh in.

  • The the issue is the password, for me to get those errors I have entered rubbish as the password, but I have a user set up for me and I have just added myself to the ssh group and I can login with my user name, I can even change my password and I can ssh in.

    Yeah I get that. But as I already wrote earlier, I have also tried creating a new user and added it to the ssh group. I am 100% sure about the password for this user. But still I cant log in.

  • I am 100% sure about the password for this user. But still I cant log in.

    You know you can change a users password in the WebUI, Access Rights Manager -> User, select the user click edit on the menu, type in a new password then confirm the password, save, apply.

  • you can try it:


    So, my attempt would be now - to start up via the console, i.e. connect the screen and keyboard and then:

    Log in as root, then edit the file nano /etc/ssh/sshd_config.


    and changing:

    PermitRootLogin no -> to PermitRootLogin yes

    (when done push STRG+X and "Y" followed with Enter).


    finaly restart SSH - sudo systemctl restart sshd

    [LibreELEC @ 2x RPi3, CoreELEC @ S12 Octa Core]

    [ NAS OMV 5.xx (Usul) @ NanoPI M4 ]

    [ Nextcloud 18.0.4 @ ODROID C2 ]

    [ Motioneye @ RPi4]

    Edited once, last by Aux ().

  • According to him however... he's also tried creating a user and adding said user to SSH group, and he can't SSH w/ that user either (did you restart SSH after doing this?)


    It seems to me it's pretty clear his password is wrong.

  • It seems I have hacked this issue.

    1) Go to access rights management

    2) doubleclick the user, in the tab groups - check ssh group

    3) then - IMPORTANT! - enter uour password in two boxes in the tab user.


    Now you can enter the ssh with the password


    PS - root access is denied "user is not in the sudoers file" - PPS solved by adding the user in sudo and root groups

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!