reconquest/orgalorg

orgalorg asks for key passphrase

mkevac opened this issue · 3 comments

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: 

@mkevac orgalorg doesn't use libssh.

@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.

closed by ed1e994