I have similar issue, if OP thinks I need to create a new thread, I will
I'm using OE version 8.0.1.
The following have been done:
1) Followed this instruction to create public key: Config connect ssh wo password - OpenELEC
The following is the permission of the files:
-rw------- 1 root root 1675 May 21 03:21 id_rsa
-rw-r--r-- 1 root root 391 May 21 03:21 id_rsa.pub
-rw-r--r-- 1 root root 166 Mar 31 23:12 known_hosts
2) Transferred the public key and add the public key to the remote device "~/.ssh/authorized_keys" file
The following is the permission of the file:
-rw-r--r-- 1 televisi staff 392 21 May 03:22 authorized_key
3) Went to OE GUI and TICK the "Disable SSH password" option
4) Run the following command:
echo 'SSHD_DISABLE_PW_AUTH="true"' > /storage/.cache/services/sshd.conf
systemctl restart sshd
The following is the content of my /storage/.cache/services/sshd.conf:
SSHD_DISABLE_PW_AUTH="true"
SSH_ARGS="-o 'PasswordAuthentication no'"
Error received: Permission denied (publickey,keyboard-interactive).
Does it mean my remote machine (OSX) does not recognise the public key?
PS: If I UNTICK the "Disable SSH password" option; I can relogin SSH, but requires password .