How to connect to NAS via terminal using putty

This guide will explain how to connect to your NAS via a terminal client (putty in this guide).

Download the putty client from https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html and install it

On UGOS, open Control Panel and go to Terminal Device

Make sure the SSH checkbox is ticked, and is recomendded to change the default port 22 to something else.

NOTE At this moment, if you changed the port to 1922 as example, after the NAS is restarted the port on the ssh service is switched back to 22 while in the UGOS you will still see 1922.
In order to change it back to 1922, you have to first change it to another value and then to 1922.

For additional settings, click on Advanced Settings as example if you want to allow SSH login only from local network.

Then click on Save and Apply. SSH service is now enabled

Open putty installed on Step 1
On the Host name, type your NAS IP address. Type the port previously configured on UGOS at Step 2, type a name to save your connection and click on Save

Now find your session name on the list and double click on it, or single click and then Load.

On the first login, you have to accept the host key to be added in putty cache for future connection

Now type your UGOS username and password

Connection done, you can run as example a command to find your username ID and group ID , required to create docker containers.

id

The command will return for user ugreentest the uid=1000 and we see is part of group admin (10) and group users (100)

Posted in Ugreen.

Leave a Reply

Your email address will not be published. Required fields are marked *