-
-
Notifications
You must be signed in to change notification settings - Fork 117
Ask for key password one time #102
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
Comments
Hi @joyshukla! Thank you for reporting this! I can reproduce. |
I think the fix should be around this line. |
I tried this. this alone will not solve the issue. it seems like the passphrase is not passed through correctly.
will check more on this soon.
… On Nov 1, 2020, at 12:34 PM, anki-code ***@***.***> wrote:
I think the fix should be around this line <https://github.com/xxh/xxh/blob/master/xxh_xxh/xxh.py#L149>. Something like:
if user_key_password:
sess.sendline(user_key_password)
elif key_password:
sess.sendline(key_password)
else:
user_key_password = getpass.getpass(prompt=(sess.before + sess.after).decode("utf-8")+' ')
sess.sendline(user_key_password)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#102 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AEUA22VQWAVKJHSUF2UHDBDSNXA5HANCNFSM4TGW4P4Q>.
|
Hi! I've made some cleaning in the logic. But the issue couldn't be solved now because when you have a key with password you should enter the password every ssh connection. To solve this for the simple password authentication we use There are some approaches to solve this:
|
Hi, |
Local OS (where xxh is installed): MacOS
Destination host OS: ubuntu/lxc containers
xxh version: xxh/0.8.6
xxh-plugins installed: xxh-plugin-zsh-ohmyzsh
Steps to Reproduce
xxh ... +v root@myhost
and the output log is belowFor community:
⬇️ Please click the 👍 reaction instead of leaving a
+1
or 👍 commentThe text was updated successfully, but these errors were encountered: