SSH
Last updated
Last updated
The following is needed when you are unable to connect to your NAS via SSH directly, e.g. zscaler that blocks port 22.
Install SynoCommunity package
In the folder /var/packages/stunnel/target/etc/stunnel
Create a file stunnel.conf
with the following content:
Create a self-signed certificate:
Ensure all files are owned by sc-stunnel:sc-stunnel
Control Panel > Task Scheduler > Create > Scheduled Task > User-defined script
General -> Name: stunnel
General -> User: root
General -> Event: Boot-up
Task Settings -> User-defined script: /usr/local/bin/stunnel
Create a file stunnel.conf
with the following content:
Run stunnel on startup, e.g. stunnel.exe -quiet
on HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
registry key
Enjoy by connecting with ssh -p 5022 localhost
Install WinGet package
See