Roots Error #1 – Failed to connect to the host via ssh: Permission denied (publickey).

Earlier this year we began using Roots’ Trellis, Bedrock and Sage to develop and manage websites. While the system is everything WordPress should be. There are some things it should not be. One of them is temperamental, another is incredibly complicated.

Today I’m working on our third project with Roots. But simultaneously with our second and fourth. So we’ve only built one site with this system so far.

When we were building that site, and went to provision and deploy our server, we encountered this issue. Today, it returns when we’re trying to provision and deploy the staging server for our next site.

 

The Problem

Then I re-ran the above command with debugging output to see if I could get some clarity.

 

The Solution

Hack First

Executing ansible-playbook server.yml -e env=staging -u root  – the -u root portion is what worked for me. I suspect this is actually a bug with Trellis’ provisioning script(s). But I don’t know.

 

Real Solution

Currently, I do not have a real solution. I think it might be related to the names of my site across my various group_vars files. But I really don’t know.




By Spencer Hill
Categorized in: Bedrock, Roots, Trellis
This post is related to:

  • Generic selectors
    Exact matches only
    Search in title
    Search in content
    Search in posts
    Search in pages
    Filter by Categories
    10
    2D Vector Design
    8.1
    Adobe
    AdWords
    Analytics
    Apple
    Apps
    Bash / Shell
    Bedrock
    Blade
    Business Development
    ChromeOS
    Company News
    Content Marketing
    Digital Design
    Digital Marketing
    Freelancing
    Gaming
    Google
    Google Hangouts
    Illustrator
    Linux
    Mac
    New Products or Services
    Operating Systems
    OS X
    Pay Per Click Management
    Paypal
    PHP
    Press Releases
    Programming
    Razer
    Reviews
    Roots
    Sage Theme
    Search Engine Marketing
    Search Engine Optimization
    Search Marketing
    Tips and Tricks
    Trellis
    Tutorials
    Ubuntu
    Uncategorized
    Video Production
    Web Hosting
    Website Development
    Website Development
    Windows
    WordPress
  • Recent Posts

  • Categories

  • About

    Since 2005 we've been offering digital and content marketing strategy and implementation. Including website development, search engine optimization and marketing, search marketing and more.

    Continue Reading »

    Contact

    Email

    [email protected]

    Phone

    503-567-9561

    Follow

  • Logo for The Portland Company with a Coyote
    Thank you for using our site. x