Skip to content
This repository has been archived by the owner on Apr 30, 2020. It is now read-only.

SSH Forward Agent is ignored #7

Closed
mdab121 opened this issue May 12, 2017 · 3 comments
Closed

SSH Forward Agent is ignored #7

mdab121 opened this issue May 12, 2017 · 3 comments

Comments

@mdab121
Copy link
Contributor

mdab121 commented May 12, 2017

My private repository is cloned from gitlab via ssh. We don't add server keys to gitlab as deploy keys – we use ssh ForwardAgent (which is configured in ~/.ssh/config). However, Flock ignores this setting.

@jakeheis
Copy link
Owner

This is a little tricky -- as far as I know, libssh2 doesn't implement ForwardAgent. I'll be exploring alternatives soon

@mdab121
Copy link
Contributor Author

mdab121 commented May 14, 2017

It's done somehow in Capistrano. Do you need help with this? 😊

@jakeheis
Copy link
Owner

Absolutely I'd really appreciate help! As far as I can tell it's possible in Capistrano because Capistrano is built on SSHKit which is in turn built on NetSSH which is a complete reimplementation of SSH, not just Ruby bindings to libssh2. NetSSH implements agent forwarding, but libssh2 does not, so we'll have to figure something else out for Flock

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants