# Trellis Up command times out at vagrant ssh auth setup and VM will not boot.

**URL:** https://discourse.roots.io/t/trellis-up-command-times-out-at-vagrant-ssh-auth-setup-and-vm-will-not-boot/29501
**Category:** trellis
**Created:** 2025-04-15T15:57:02Z
**Posts:** 3

## Post 1 by @a-pompei — 2025-04-15T15:57:02Z

Currently I am trying to setup a local development environment from which to provision and deploy a site to Digital Ocean from.

My local dev environment is a MacBook Pro M2 Max, using Parallels Desktop with Trellis for provisioning and deployment.

When I run Trellis Up the process creates a VM and begins to setup the Vagrant user however the process stalls at the task, "default: SSH auth method: private key. Then it times out and fails.

This is the first time I have run into this issue and can’t quite see the cause of the issue.

Any advice and insight would be greatly appreciated.

---

## Post 2 by @a-pompei — 2025-04-15T16:22:08Z

I found this post about something similar: [Provisioning of server works fine deployment fails for production trellis ssh fails](https://discourse.roots.io/t/provisioning-of-server-works-fine-deployment-fails-for-production-trellis-ssh-fails/29336/8) .

I followed the steps to update the ssh config file and add the key to the ssh agent. When I ran the command “trellis up” again the VM was built and is ready for use.

Update: With the VM “up and running” I then tried to ssh into it but the process would just sit there after running “vagrant ssh” so I assume this is NOT working correctly. Then I deleted the VM and re-ran “trellis up” and now I am back to the same issue as before where the "trellis up " process hangs at the default: SSH auth method: private key.

---

## Post 3 by @jasperfrumau — 2025-04-16T04:52:03Z

And `trellis/group_vars/all/users.yml` is pointing correctly to your public ssh keys? See [SSH Keys | Trellis Docs | Roots](https://roots.io/trellis/docs/ssh-keys/) . Perhaps also good to share verbose log of the provisioning of the Vagrant box. Thread [https://discourse.roots.io/t/trellis-on-windows-vagrant-up-hangs-on-ssh-auth-method-private-key/8735](https://discourse.roots.io/t/trellis-on-windows-vagrant-up-hangs-on-ssh-auth-method-private-key/8735) may also help.
