tillberg / gut

Realtime bidirectional folder synchronization
ISC License
321 stars 23 forks source link

No method to specify ssh port. #15

Open karcaw opened 8 years ago

karcaw commented 8 years ago

gut sync provides no way to specify a port for the ssh connection. I routinely need to use files from systems that are behind a bastion host, and as such i can connect to them through an ssh tunnel as such:

ssh -L 5022:otherhost:22 bastionhost

Then i can connect to the internal host with:

ssh -p 5022 localhost

I need to be able to specify in some way the port for the gut-sync, such as:

gut sync ~/stuff karcaw@localhost:5022:~/stuff
ariselseng commented 8 years ago

2nd.