Sign inSign up

cfbsks/ssh-trs

By cfbsks

Updated almost 4 years ago

a ssh transfer station

Image
0

686

cfbsks/ssh-trs repository overview

SSH-TRS

Overview

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.

Security

SSH-TRS literally use SSH as a tunnel to encrypt your data transfer.

Usage

$ 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.

Defects

  • The container is bloated.
  • Only single port is supported.

Future

  • Get slimmer
  • Multi-Port supporting
  • Client container
  • udp support

Tag summary

Content type

Image

Digest

sha256:53eb10026

Size

105.7 MB

Last updated

almost 4 years ago

docker pull cfbsks/ssh-trs