To check resources usage directly from the NAS device a simple “top” command will show the consumption in real time. A quick “ifconfig bond0” shows the main info about the Synology network configuration. In fact, a quick “uname -a” command shows details about the Synology DSM OS release.įrom here the popular Linux commands work like a champ. From the shell is now possible to run the commands like in a Linux box. Right after accepting and saving the host key it is just a matter of entering the credentials for the Synology NAS. It will appear only on first connection or when the SSH Host key is not present in cache. As a warning as the source cannot be identified the wizard is asking to accept / trust the connection. If the connection is successful it shows the info about the Synology SSH host key not cached in the registry (Windows machine). It is matter of specifying the correct IP Address or hostname along with chosen Network Port. Linux and Mac already have a built-in SSH client from the pertinent Terminals. Change the port from the default port of 22. Click the checkbox to Enable SSH Service. Terminal & SNMP (make sure you’re in advanced mode in the control panel) In the Terminal Tab. Next step is to use an SSH client like the popular PuTTY for Windows. In order to be able to SSH into the NAS first, we need to enable SSH: In DSM open up the Control Panel. Once done click on Apply to start the SSH service. Diskstation configuration Login into your Diskstation Go to Control Panel > Hardware & Power > General Under Power Recovery activate Enable. By default the Medium level already supports the most popular and recent ones like AES, Diffie-Hellman and many others. These are divided in High, Medium, Low and Custom. In the advanced settings the ability to choose the supported encryption algorithms. Port 22 is the default one and for security it might be a good idea to choose a different one. Next is to enable the SSH service and decide which port for the SSH service to listen to. Synology SSH connection setupįrom Synology Desktop > Control Panel > Terminal & SNMP utility the option to control and enable the Synology SSH Server. It is not just for troubleshooting purposes but also for quickly adding or changing configurations, take a closer look at performances directly from the box, restarting services and lot more. There are plenty of scenarios where running the command line is becoming handy. In this article the steps on how to enable the terminal to allow Synology SSH connections with popular SSH clients like PuTTY. to change the port to something else than 22 and reboot the NAS if you cannot find the openssh startup script. In that case, settings should be in /opt/etc/ssh/sshdconfig. The most likely scenario is that you have openssh from IPKG/optware. The NAS devices are not an exception and certainly this is the case for Synology NAS as well. Yes, you may have already another ssh (like OpenSSH) using the same port. It is required in the client’s SSH software in order to proceed with the SSH connection.Managing a device from the command line sometimes can be a lot quicker than logging into the GUI and look for the specific utilities. From the kebab menu for the corresponding ssh key, you can check the SSH Credentials, manage the allowed IP addresses, check the private and public keys and change the key name or delete the SSH key:īy clicking on the Private Key link you will see the RSA Private Key. You will need these keys in order to configure an SSH connection from your local computer to the server. Once you open the tool, you can generate a new pair of SSH keys. You can check the Key Name and the allowed IPs. How to Enable SSH/Shell Access in Site Tools You can enable SSH access from your Site Tools > Devs > SSH Keys Manager. In the Manage SSH Keys section, you can view the details for the allowed SSH connections. Currently the following algorithms for SSH key pairs are supported on our servers: If you already have an SSH key pair, go to the Import tab and you can directly paste the public key in the Public Key text window. You will need it to establish an SSH connection. You should enter a key name and generate a random passphrase or enter a chosen one. The public key is saved on the server and you will have to insert the private in your local SSH software. Specify a different port number other than 22. Once you open the tool, you can generate a new pair of SSH keys. Go to DSM > Control Panel > Terminal & SNMP > Terminal, and tick Enable SSH service. You can enable SSH access from your Site Tools > Devs > SSH Keys Manager.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |