Secure Shell (SSH) is a protocol that provides secure login access to machines. It achieves this by creating an encrypted connection between two networked devices over port 22 on both the local machine and remote server, so no one can see either your data or what you're doing while connected through it - not even if they have physical unchecked privilege with regards control-ateral intrusion attempts!
SSH activation on Synology
In this example, we'll use a Synology DS720+ running the last update of DSM version 7.0.1-42218 Update 2 for more information about this update please check the release note
To enable SSH on our NAS, we must first go to the Control Panel, then to Terminal & SMNP. It's only a matter of checking the box Enable SSH service and then validating it by clicking on Apply. To increase security, it is obvious that the protocol's default port (22), which is used by default, should be changed.
PuTTY to connect to an SSH server
It was necessary to use a third-party software for a long time on Windows to connect via an SSH terminal. PuTTY is without a doubt the most well-known.
PuTTY is quite easy to use, all you have to do is type in the IP address of your NAS and the SSH port you want to use, then click Open to start the connection.
Once the connection to the server is established, you will be asked for your username and password.
Obviously, if you want to save and load a profile or many profiles, you may do so.
If you wish to login as "root," put in the client sudo -i and press enter after you've logged . After that, you'll be requested to enter your password then hit enter.
To connect through SSH, use CMD.
Open a command prompt and type the following command:
Example:
ssh 192.168.1.250 -l yassine -p2267
ssh [email protected] -p2267
Once you've established a connection to the server, you'll be asked to accept the certificate (tap yes), and then you'll be asked for your password.
To connect through SSH, use PowerShell.
Open a Power Shell and type the following command:
Example:
ssh 192.168.1.250 -l yassine -p2267
ssh [email protected] -p2267
Leave a comment
Your email address will not be published. Required fields are marked *