Skip to content
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

orgalorg asks for key passphrase #10

Closed
mkevac opened this issue Jul 31, 2016 · 3 comments
Closed

orgalorg asks for key passphrase #10

mkevac opened this issue Jul 31, 2016 · 3 comments

Comments

@mkevac
Copy link

mkevac commented Jul 31, 2016

Hi.

Orgalorg asks for key passphrase, even though I have already entered it and it's not needed via simple ssh.

Can orgalorg use same saved passphrase?

This works without passphrase:

$ ssh foobar1.mlan

This does not:

$ orgalorg -o foobar1.mlan -o foobar2.mlan -C "uname -a"
Key passphrase: 
@kovetskiy
Copy link
Member

@mkevac orgalorg doesn't use libssh.

@seletskiy
Copy link
Member

@mkevac: Reason for that is that ssh-agent support is not embedded into orgalorg. ssh-agent is the reason why you enter password only once, and all encryption which uses the key is actually goes through ssh-agent instead of ssh.

However, ssh-agent implementation is available in the Go-lang (https://godoc.org/golang.org/x/crypto/ssh/agent), so it should be quite trivially to embed it. I'm glad to merge PR providing that.

@kovetskiy
Copy link
Member

closed by ed1e994

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

No branches or pull requests

3 participants