Open rupor-github opened 8 years ago
@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: https://github.com/reconquest/orgalorg/pull/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 runcmd
library repo was lost along with required PR, so author closed PR.
We need to restore this feature in runcmd
first.
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: well, I do not use orgalorg
right now, but that doesn't mean, that project is dead.
If someone will add agent functionality back in runcmd
then I will gladly merge PR #14.
@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 https://godoc.org/golang.org/x/crypto/ssh
library instead of runcmd
?
runcmd
does not look to be maintained.
@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 runcmd
and reworked it a bit.
Also, I've added support of ssh-agent here: https://github.com/reconquest/orgalorg/commit/ed1e994d72bbd39ea729c21bbd6cbb7294ab6c36
@kovetskiy
Orgalorg keeps asking for my ssh keys.
Changing the main.go
file into (line 707):
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?