Welcome to the Linux Foundation Forum!

Vagrant ssh error on OSX 10.15.5



the virtualbox hangs at the SSH auth method.
I am on Lab01: Setting up a Fabric Network, Part I.
I have downloaded and installed vagrant and virtualbox.
When doing 'vagrant up' the process hangs:

In terminal:
Hyperledger_Fabric_Fundamentals vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'fabric-fundamentals'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: Hyperledger_Fabric_Fundamentals_default_1591635368886_69811
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
==> default: Forwarding ports...
default: 3000 (guest) => 3000 (host) (adapter 1)
default: 3333 (guest) => 3333 (host) (adapter 1)
default: 8080 (guest) => 8080 (host) (adapter 1)
default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address:
default: SSH username: vagrant
default: SSH auth method: private key

I was thinking it is because of the SSH setting in OSX.
I have searched for a solution for almost 2 days, but nothing works.
But it looks like not. I can start and SSH into another virtualbox, like:
vagrant box add --insecure ubuntu/xenial64

Do you have a solution?


  • Genji
    Genji Posts: 4

    I am still working on getting this fixed. I have tried with another box and that is working fine.

    Here is the vagrant ssh-config output:
    ➜ Hyperledger_Fabric_Fundamentals vagrant ssh-config

    Host default
    User vagrant
    Port 2222
    UserKnownHostsFile /dev/null
    StrictHostKeyChecking no
    PasswordAuthentication no
    IdentityFile /Users/Gunnar/.vagrant.d/boxes/fabric-fundamentals/0/virtualbox/vagrant_private_key
    IdentitiesOnly yes
    LogLevel FATAL


Upcoming Training