Page 1 of 1

Toon ssh file creation and editing

Posted: Fri Jan 22, 2021 9:59 pm
by Jasper
Hi,

For the home assistant control panel to work on Toon I need to create a key holder file.

I've found the right location using ls -al /mnt/data/tsc/homeassistant.token.txt and now I'd like to edit it so I can paste the key.

Problem is that I can access the folder with ssh but not with ftp. It doesn't even want to connect with the Toon. Used port 22 and 21 with ftp and doesn't connect.

So I thought I could "nano homeassistant.token.txt" though nano isn't installed I think.

Is there another way to do this?

Re: Toon ssh file creation and editing

Posted: Fri Jan 22, 2021 10:03 pm
by Templar
Jasper wrote:Hi,

For the home assistant control panel to work on Toon I need to create a key holder file.

I've found the right location using ls -al /mnt/data/tsc/homeassistant.token.txt and now I'd like to edit it so I can paste the key.

Problem is that I can access the folder with ssh but not with ftp. It doesn't even want to connect with the Toon. Used port 22 and 21 with ftp and doesn't connect.

So I thought I could "nano homeassistant.token.txt" though nano isn't installed I think.

Is there another way to do this?
You can use vi. But I use WinSCP with the SCP protocol on port 22 with succes.

Re: Toon ssh file creation and editing

Posted: Fri Jan 22, 2021 10:08 pm
by Jasper
I'll try winscp tomorrow when I'm home. All I have now is my phone.