-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for ssh-agent and forwarding? #12
Comments
@rupor-github: Hi! Not yet. It was already mentioned in the #10. I'l glad to merge PR with ssh-agent support. |
Here you are: #14 |
@seletskiy did you have a chance to look at my pool requests (both runcmd and orgalorg)? |
@rupor-github: Sorry, I was little bit of out context lately. I will take a close look soon. Thanks for poking me. |
@seletskiy - Do you know if this can be merged? I am using the orgalorg tool and would like to use the ssh-agent withougt entering the passphrase everytime. |
Looks like the PR never got merged. What happening here? |
@prologic it seems that We need to restore this feature in |
This was some years ago... Is there still interest in adding this feature? I'm not seeing much evidence of activity on this project of late... Do you still actively maintain/develop it? |
@prologic yes, I use the program on an everyday basis, the thing about it is that it just works fine. |
I undig a very old topic. Is there any possibility to use the |
@tbellembois what point do you see in it? The runcmd package doesn't do anything except wrapping golang.org/x/crypto/ssh, providing an interface which we use in orgalorg itself as abstraction layer for Local/Remote runners. |
@tbellembois nevermind, I've already forked Also, I've added support of ssh-agent here: ed1e994 |
Orgalorg keeps asking for my ssh keys. if os.Getenv("SSH_AUTH_SOCK") != "" {
sock, err := net.Dial("unix", os.Getenv("SSH_AUTH_SOCK"))
if err != nil {
return nil, hierr.Errorf(
err,
"unable to dial to ssh agent socket: %s",
os.Getenv("SSH_AUTH_SOCK"),
)
}
keyring = agent.NewClient(sock)
} else {
keyring = agent.NewKeyring()
} does the job but not sure this is the right think to do... |
@tbellembois feel free to open pull request! |
Done ! Thanks. |
Hi, are there any plans to support this?
The text was updated successfully, but these errors were encountered: