-
Notifications
You must be signed in to change notification settings - Fork 174
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
qemu_guest_agent: Add ssh-key injection support for windows #4129
qemu_guest_agent: Add ssh-key injection support for windows #4129
Conversation
0e0517d
to
54c8983
Compare
ca6b48f
to
45d95be
Compare
45d95be
to
227c663
Compare
@leidwang could you please help review it when you're free? thanks |
227c663
to
153464c
Compare
@fbq815 @MiriamDeng @BohdanMar I'm not sure if you guys test Windows for qga or not, if not, it won't require any test, just please be aware of this support (send ssh-key to Windows/Linux via qga could be a non-network-option.) |
no windows guest is tested on s390x |
Windows is not supported on ppc side, please ignore ppc. |
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.
LGTM.
Windows is not supported on ppc side. Thanks. |
Hi @vivianQizhu , Could you please help to review and merge this patch? |
4fe12b3
to
4fe4cdc
Compare
9edad2c
to
f63405e
Compare
@leidwang please help review again. |
@vivianQizhu please help to review and merge this patch. thanks |
guest_user = "fedora" | ||
guest_user_passwd = "redhat" |
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.
Should keep the param name and description here for user's reference, e.g.
# Set user password
# guest_user_passwd =
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.
LGTM otherwise.
qemu/tests/cfg/qemu_guest_agent.cfg
Outdated
Windows: | ||
install_config_openssh = "powershell.exe Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope Process -Force; WIN_UTILS:\Install_config_OpenSSH.ps1" | ||
# Please fill out guest_user_passwd before running test | ||
first_ssh_VM = 'sshpass -p %s ssh ${guest_user}@%s -o StrictHostKeyChecking=no dir "${guest_homepath}"' |
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.
I would recommend to name it cmd_sshpass
.
f63405e
to
3bd3292
Compare
3bd3292
to
02c86a3
Compare
Add public ssh-key injection support for windows. Linux had been supported already. Add script Install_config_OpenSSH.ps1 to prepare OPenSSH. Signed-off-by: Dehan Meng <[email protected]>
02c86a3
to
dabb8f2
Compare
Add public ssh-key injection support for windows. Linux had been supported already.
ID: 2587
Signed-off-by: Dehan Meng [email protected]