Replies: 1 comment
-
When you say type your password, is that when you try to use the key? A key can be created either with encryption by specifying a password or without by not specifying a password. If a password is selected, it will have to be manually entered every time the key is used. I doubt, however, that you would get "Permission denied" in that case. I think this has to do with file permissions. The user running the homebridge process doesn't seem to have the right to access the file. You'll have to identify what user homebridge is running as (should probably be documented somewhere). You can for example try to run |
Beta Was this translation helpful? Give feedback.
-
Backstory
I have followed steps from the wiki for the shutdown command and everything works apart from when I try run the command from the homebridge terminal it doesnt work but when I run it from normal terminal then it works fine
Issue
My homebridge folder thing is in the home folder not sure why, I cant create folders in the root drive so yeah. When I run it in homebridge terminal this shows up, I went and check the permissions tho and it says that everyone can read and write. why is it not working? Obviously if I type the password it works but it should be keyless ssh so I can just flip the switch on my iphone.
Load key "/home/homebridge/id_rsa": Permission denied
Environment
Configuration
No response
Logs
homebridge@dexter-9500-0446A:/var/lib/homebridge $ ssh -i /home/homebridge/id_rsa [email protected] shutdown /s
Load key "/home/homebridge/id_rsa": Permission denied
[email protected]'s password:
Beta Was this translation helpful? Give feedback.
All reactions