This is a ssh transfer station. It is designed to solve the inconvenient when try to visit the host set in complex network environment.
Specifically, your NAS host lies at home without public ip address.
You can run the ssh-trs on your cloud server with public ip.
Then use ssh-client on you NAS to connect to ssh-trs, and it will forward all request to the SSH-TRS to your NAS.
SSH-TRS literally use SSH as a tunnel to encrypt your data transfer.
$ sudo docker run -itd -p 42:22 -p 2222:2222 --name SSH_TRS --restart=always cfbsks/ssh-trs:latest
Use your server "at home" connect to port=42 via ssh -p 42 -R 2222:<homeserveHostnamer>:<homeserverPort> root@<SSH-TRS Honstname> with initial password 20221103
Now when visit <SSH-TRS Honstname>:42 the data will forward to <homeserveHostnamer>:<homeserverPort>
For security, we recommend using the public key to log in.
After generate your key-pair, upload it via ssh-copy-id -p 42 -i <id_rsa.pub> root@<SSH-TRS Honstname>
And execute /complete.sh to disable the password.
Content type
Image
Digest
sha256:53eb10026…
Size
105.7 MB
Last updated
almost 4 years ago
docker pull cfbsks/ssh-trs