Hi,
I need help to configure the access.
I’m using a Raspberry.
I installed the plugin.
I generated both public in private keys.
I copied the public key into the plugin configuration field using quotation mark “key”.
I tried to connect using Putty and it doesn’t work.
I tried to connect from the Home Assistant shell and it doesn’t work as well (I connected to Home Assistant via ssh on port 22 and I ran ssh ipaddress -p 22222).
This is the log
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
[skip] /dev/vda1 does not exist.
[skip] /dev/sda1 does not exist.
[skip] /dev/sdb1 does not exist.
Writing authorized_keys in /dev/mmcblk0p1
[SUCCESS] Key written to /dev/mmcblk0p1.
[skip] /dev/mmcblk1p1 does not exist.
[skip] /dev/nvme0n1p1 does not exist.
[skip] /dev/xvda8 does not exist.
[Done] Configurator complete. Perform a hard power-off now. This configurator only works once and is no longer needed.
From the shell the error is
root@ipaddress: Permission denied (publickey).
Thanks, worked for me. Just have a question as a “green” person in topic. After uninstalling, public key is still there? If i lost private key and install this plugin again, perform all steps will work for new keys?
@adamoutler how can i use this to paste a audio file to my asterisk addon container? I can see the container folder but i dont know how i can paste a file inside the folder.
while this is great, the instuctions are wrong. create the key with putty keygen, I believe nothing else works.
when you copy the public key to the addon, don’t type SSH and do NOT use any quotes “”. Just copy the plain key from putty without line breaks or anything and then it works! took me 3 days.