Home Forums Tech Office and Applications How to connect from Windows 11 to Synology over SSH with a key?

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #9732
    Udar Gromov
    Keymaster

    – using Synology DSM interface, enable SSSH on a random port and test your connection with PuTTY, WinSCP and a command prompt.

    – generate a private and a public key using a command prompt (PowerShell)
    (ssh-keygen -t rsa -b 4096)

    – transfer newly generated public key to your Synology server

    – test password-less connection with a command prompt

    – configure your PUTTY, your WinSCP sessions to point to a private key

    – connect without a password

    Notes:
    – You do not need to edit SSHD-CONFIG file unless you need to disable SSH login with a password entirely (sudo vim /etc/ssh/sshd_config)
    – If you modify this file for any reason, you need to restart SSH on Synology.
    – You do not need to enable HOME directory on Synology

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.