Home Smart Home Home Assistant Lesson 19 – Use WinSCP to browse HASS file, without losing the Samba add-ons

Home Assistant Lesson 19 – Use WinSCP to browse HASS file, without losing the Samba add-ons

826 views
Use WinSCP to browse HASS file

As you know, SSH and Samba are really two basic things in Linux in general and HASS in particular. In today’s lesson, I will show you another way to browse HASS files without installing Samba.

How to install and use WinSCP

1. Installation:

Go to WinSCP home page and download the installation. This paragraph is basically so I put the picture up.

Use WinSCP to browse HASS file

2. Use:

Once installation is complete, open WinSCP and see the following picture:

s1200

There are 4 fields to fill:

1 / Domain or IP of Pi (if you use the domain, remember to open port 22 to 22, ip of Pi)

2 / Port default is 22 (that is the SSH port you guys)

3 / User: is the user that you installed in SSH (hassio default is root , hassbian default is pi )

4 / Password: SSH Password that you set up.

When done, press Login

If successful, you will have access to Pi, and browse the file inside it. The file browsing interface you will see is as follows. In the picture below, I browse to the l-bot folder

s1200

To open the file to edit the code, first right-click the file to open, select Edit -> Configure, then select the path to the editor you often use (Notepad ++ or Visual Code or …).

s1200

After the setup exam is complete, you can open the code editing file already.

This is more convenient than Samba because Samba must be in the same LAN as Pi, but this way, you can still go back to Pi to browse the file (by entering domain – remember to open port 22 first).

Related Tips And Tricks

Leave a Comment

Tips and Tricks

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More