-
Notifications
You must be signed in to change notification settings - Fork 397
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
[ssh] improvement #25
Conversation
Signed-off-by: XiaoliChan <2209553467@qq.com>
d82a74c
to
ad295ea
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will need to actually test this as well
@XiaoliChan can you also add new e2e tests in the command list for the new options you've added?
Sure! |
@NeffIsBack @Marshall-Hallenbeck I will solve the issues in reviews after my holiday :D |
Take your time and enjoy your holidays :D |
Signed-off-by: XiaoliChan <2209553467@qq.com>
Signed-off-by: XiaoliChan <2209553467@qq.com>
Signed-off-by: Xiaoli Chan <2209553467@qq.com>
Signed-off-by: Xiaoli Chan <2209553467@qq.com>
Signed-off-by: Xiaoli Chan <2209553467@qq.com>
Signed-off-by: Xiaoli Chan <2209553467@qq.com>
Signed-off-by: Xiaoli Chan <2209553467@qq.com>
Signed-off-by: XiaoliChan <2209553467@qq.com>
Signed-off-by: XiaoliChan <2209553467@qq.com>
Signed-off-by: XiaoliChan <2209553467@qq.com>
There are still some single quotes instead of double quotes :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything is working now. Great job @XiaoliChan
There are still a few single quotes but we wait until #35 is merged, probably a lot are already fixed there
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Signed-off-by: XiaoliChan <2209553467@qq.com>
Signed-off-by: XiaoliChan <2209553467@qq.com>
@Marshall-Hallenbeck this is ready as well, should i merge it or are we waiting for your PR? |
@NeffIsBack we can probably merge this, I still have to fix some of the things from your feedback for #35 |
Totally bugs fixed & improvement:
[ssh.py]
: less createssh connect
, keep doing set credential viaparamiko transport
[ssh.py]
: rewriteenum_host_info
function[ssh.py]
: fix hanging, old one will never exit[ssh.py]
: fix private key with passphrase[ssh.py]
: add sudo check for linux user[ssh.py]
: windows privileges check[ssh.py]
: improve command execute and format command execute result[ssh.py]
:paramiko
always discovery private keys in~/.ssh/
, that will makeparamiko
exception, disable it.