-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
MacOS could't connect with ssh to VM ubuntu #3143
Comments
Duplicate of #2534 You need to switch to another mode other than emulated network to use SSH. #2535 (comment) @osy This issue has been around for some time and I can reproduce. Is this something that can be fixed here or is it QEMU/SPICE territory? |
Is sshd active on Ubuntu? Inside VM, try:
if it's not even installed:
|
@conath I selected Network mode - shared network initially. |
@ml2s ssh is active |
@Lisstrange Thanks for sharing your fix. Does this also work in Emulated Network mode? |
hey @Lisstrange what does step two mean in your fix?
Thx :) ah ive got it... just used the ip adress discovered by using |
Describe the issue
I have tryed to setup linux VM on Mac M1 (https://medium.com/@lizrice/linux-vms-on-an-m1-based-mac-with-vscode-and-utm-d73e7cb06133)
I installed ubuntu VM, selected newtwork mode emulated VLAN . Setup port like there
https://miro.medium.com/max/4800/1*yABPQBtxXg8_5l8MlYOLqA.png
Ubuntu server can see your adress (ssh -p 22 127.0.0.1)
But Macbook can't find it.
return: Connection reset by peer
Configuration
what should I do?
The text was updated successfully, but these errors were encountered: