Use a different user to login your system, eg. ssh user@system. It depends on how the setup was done to select the user. Usually, it your user if you haven’t created one. Sorry can’t help with WinSCP but I guess that there is an input field for this.
I am having the same issues and changed the shell to “sudo su -” as suggested above but it still doesn’t allow me to edit the configuration.yaml file in WinSCP. I installed using the HASSbian image. Is there a username that is different for that install (and password as well)? Thanks for any insight. Standard login with Raspberry pi username and password isn’t working while editing or trying to change permissions on the configuration.yaml file.
I don’t use WinSCP for this but have in the past. I’m fairly sure you need to set the session protocol to SCP as well in the pull down menu on right hand side. Not home right now to check but used it on a router recently - see image.
What were the other changed settings. I have beent trying to solve this problem but cant. HA installed on venv with hass as user. I have tried the above recommendations. I am hoping i did not " muck up permissions!" What am i doing wrong?