Skip to content

Can't connect after migration #203

@paulrouget

Description

@paulrouget

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions