Posts by Hagamuga


    You have to edit /etc/ssh/sshd_config:

    Code
    PasswordAuthentication no

    That does not work since its mounted ro and remount rw does not work either due to squashfs, thats why i was asking here.
    [hr]

    That won't work. Please don't suggest things unless you have actually tried it.

    Code
    echo 'SSHD_DISABLE_PW_AUTH="true"' > /storage/.cache/services/sshd.conf
    systemctl restart sshd

    Thanks but it seems it has no effect here.
    [code=php]
    # cat sshd.conf
    SSHD_DISABLE_PW_AUTH="true"

    # systemctl restart sshd
    Connection to 192.168.1.201 closed by remote host.
    Connection to 192.168.1.201 closed.
    battlecat:~ root# ssh [email protected]
    [email protected]'s password:


    [/php]
    I can still login with the default password without mypubkey. I'll try rebooting later when the rpi is not in use and will report back.