On receiving NAS:
setcfg LOGIN "SSH AllowTcpForwarding" TRUE
reboot
On client to forward local port 8443 to the QNAP admin interface:
ssh user@host -L 8443:localhost:443
On receiving NAS:
setcfg LOGIN "SSH AllowTcpForwarding" TRUE
reboot
On client to forward local port 8443 to the QNAP admin interface:
ssh user@host -L 8443:localhost:443
I was trying to get VSCode Remote working and I found that I needed to also enable
AllowAgentForwardingon the NAS, and I needed to sudo both setcfg commands on the Qnap:After reboot I confirmed the values had stuck - these command both returned
TRUE:Then I deleted any old
.vscode-serverfiles from the Qnap:Finally I set
"remote.SSH.useFlock"tofalse(i.e. unticked) in VSCodeAfter this VSCode Remote connected properly