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

Can't connect after migration #203

Open
paulrouget opened this issue Dec 1, 2024 · 0 comments
Open

Can't connect after migration #203

paulrouget opened this issue Dec 1, 2024 · 0 comments

Comments

@paulrouget
Copy link

paulrouget commented Dec 1, 2024

I migrated to a new Mac and didn't saved my .ssh/config (but I saved ~/.macpine).

I used to have a alpine instance running on the original Mac, with this exact configuration:

alias: alpine00
image: alpine_3.16.0-aarch64.qcow2
arch: aarch64
cpu: "2"
memory: "2048"
disk: 10G
mount: ""
machineip: localhost
port: ""
vmnet: false
sshport: "2022"
sshuser: root
sshpassword: ssh:alpine00
macaddress: 56:12:32:11:65:da
location: /Users/paul/.macpine/alpine00
tags: []

I did not backup my .ssh/config on the host, but I assume it looked like this:

Host alpine00
    Hostname localhost
    User root
    Port 2022
    IdentityFile ~/.ssh/id_rsa
    IdentitiesOnly yes

Running alpine start alpine00 I get:

booting alpine00
alpine00 stopped
failed to start alpine00: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain
error starting instance(s)

… but if I run the qemu command line I see in ps aux, I can ssh without an issue:

ssh root@alpine00

I don't understand what I'm doing wrong.

Thank you.


  • macOS version: 15.1.1
  • qemu version: (brew info qemu): 9.1.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant