I am wanting to attempt the SSH tunnel described in this guide: SSH Tunneling — Syncthing v1 documentation
I am not using port 22 for ssh. How would I use the given example but specify to use port 22987 instead of port 22? Thanks.
#/bin/bash
ssh -i ~/.keys/somekey.pem
-L 127.0.0.1:22001:127.0.0.1:22000
-R 127.0.0.1:22001:127.0.0.1:22000
syncguy@hostb
3 posts - 2 participants