So this is my 3rd attempt at getting Hass.io working. Since I last broke it (about a year ago) I switched to Ubuntu so am going through that learning curve at the same time.
My problem is i’m stuck at the most basic thing, I have enabled SSH but can’t remember how to actually edit the yaml files.
When i connect via putty and do a LS it doesn’t return anything… I vaguely remember something about it running in a vm or something but thats all
Can someone point me to how to change the yaml files? If possible I have seen something about people using VSCode and i’d prefer to use that but for now i’d just be happy to use Nano or something.
I have hassio running on a raspberry pi but i want to connect and edit the files from my Ubuntu install on my laptop.
I can SSH in through putty but can’t see the files.
Last time with windows i think i just used smb to access over network with notepad ++
I can shh in and see the hassio commands but not sure how to see the directories. Ls doesn’t return anything at all to meme.
Maybe i need to use terminal instead of putty
after you ssh as root into your pi, cd to root “cd /”. There, if you do an ls -l, you will see all the directories. Your .yaml’s are in /config. I use nano (kinda vi like) as my editor. ( nano configuration.yaml )
Thanks. Had to do cd /
I thought the ~ sign meant that i was already in root.
so… if i do ‘nano configuration.yaml’ it will edit in the terminal but if i remember right i had lots of problems with formatting last time. I was hoping i could open it in a external viewer like notepad ++ or VScode etc… But only way i can think of to do that is the copy it to my local machine, edit and then copy back. Is there a better way for a noob?
Never mind i used SSHFS… was easy (hopefully it comes back on reboot but i can deal with that later).