Trying to use my sublime to SFTP into home assistant. I have HA inside a docker, if this makes any difference. Getting a permission denied. I know that it has something to do with a user control for permissions, but i don’t manage to find out how to change this.
If you are running on docker, you need to SFTP to the host, to the directory where your config lives. It doesn’t live inside the docker container.
You can SFTP to the Community SSH addon… but need to enable SFTP, Use the Root User and use compatibility mode. You should also use a different port than 22 as your host will already be using that. Note: SCP Protocol won’t connect so use SFTP.
Only if you’re running hassio though. We don’t know what the OP is running aside from “HA in docker”
Yes agreed.
I only have HA running in docker nothing along side it. Can you please explain what this community SSH addon is?
Yes but i can’t update any file because there is a permission denied. I was using sublime with SFTP and it didn’t let me update my yaml file.
So figure out the permissions issue?
Yes i did. I have to change the permissions before you use Sublime. i.e.
In general i want to remove the full permissions that is 777 but I have yet to find a combo that works. 667 doesn’t work etc.
chmod 777