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

The SSH key is not put in the guest if creating VM with "Create and edit" #1313

Open
yunmingyang opened this issue Nov 16, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@yunmingyang
Copy link
Contributor

Description of problem:
Create a VM with "Create and edit" and a SSH key, then modify the network to "Direct attachment", then run the VM and wait until the VM boot completely. After that, log in the guest, and check the .ssh/authorized_keys, no public key found

Version-Release number of selected components (if applicable):
cockpit-300.1-1.el8_9.x86_64
cockpit-machines-301.1.2.gb0140b7-1.fc38.noarch
libvirt-dbus-1.3.0-2.module+el8.9.0+18724+20190c23.x86_64

How reproducible:
100%

Steps to Reproduce:
1 Create a VM with "Create and edit" and a SSH key
2 Modify the network to "Direct attachment"
3 Run the VM and wait until the VM boot completely
4 Log in the guest, and checck the .ssh/authorized_keys

Actual results:
1 No public found in .ssh/authorized_keys after step 4

Expected results:
1 The SSH key should be put in .ssh/authorized_keys

Additional info:
If without the step which is "Modify the network to "Direct attachment"", the SSH key will still not be in the .ssh/authorized_keys

@KKoukiou KKoukiou added the bug Something isn't working label Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants