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.

Categories: Bedrock, Roots, Trellis
  • Generic selectors
    Exact matches only
    Search in title
    Search in content
    Search in posts
    Search in pages
    Filter by Categories
    10
    8.1
    AdWords
    Analytics
    Apple
    Bedrock
    Blade
    Business Development
    Company News
    Content Marketing
    Freelancing
    Gaming
    Linux
    Mac
    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
    Website Development
    Website Development
    Windows
  • Recent Posts

  • Categories

  • Would You Like a Quick Call?

    We're happy to spend 30 minutes answering any of your questions and showing you the first steps to make your business "add up".

    From Our Blog




    Img

    Roots Issue #12: Code, styles, not updating

    Categories: Bedrock, Roots, Sage Theme, Trellis, Ubuntu

    The Issue Recently, I discovered that when I saved my code it was no longer appearing when I reloaded the website while working locally in development. This occurred along with this error so I thought they were connected.   The Solution It turned out that when you run gulp --production that the Theme begins to look in […]

    Continue Reading »

    Img

    Roots Issue #11

    Categories: Roots, Trellis, Ubuntu

    [Browsersync] Couldn’t open browser (if you are using BrowserSync in a headless environment, you might want to set the open option to false) I have built several sites with Roots stack now and suddenly, BrowserSync is no longer working on one of them. However, BrowserySync is working on all the others. So this suggests to […]

    Continue Reading »

    Img

    Roots Issue #10

    Categories: Bedrock, Roots, Sage Theme, Trellis, Ubuntu

    Today I switched from my Mac to my Linux Ubuntu and attempted to continue working on a Roots site. After cloning it down and using vagrant up to start the server and the site. Then I noticed the sites styling was broken. So I looked at the main.css stylesheet and discovered it was not found. So […]

    Continue Reading »

    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

    us@theportlandcompany.com

    Phone

    503-567-9561

    Follow

  • Logo for The Portland Company with a Coyote