trilbymedia / grav-plugin-git-sync

Collaboratively Synchronize your Grav `user` folder hosted on GitHub, BitBucket or GitLab
Apache License 2.0
243 stars 58 forks source link

[Feature Request] support for ssh links #104

Closed Moonlight63 closed 3 years ago

Moonlight63 commented 6 years ago

Currently working on changing the implementation slightly because ssh links like:

ssh://git@bitbucket.org:22/{user}/{repo}.git

Don't work because it gets rewritten to something like:

ssh://{user}:{password}@git@bitbucket.org:22/CascadeAP/cascadeusersync.git

w00fz commented 6 years ago

What happens if you use ssh://bitbucket.org:22/{user}/{repo}.git instead? (note i removed git@)

w00fz commented 5 years ago

I looked into supporting ssh links but it is quite a bit more complicated than I anticipated.

I am however considering this for a future version.

w00fz commented 3 years ago

You can now use ssh://git@bitbucket.org:22/{user}/{repo}.git URLs @Moonlight63 , I also added support for SSH Keys. This is available in v2.3.0