Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby Installing a Ruby Development Environment Installing a Ruby Development Environment Installing the Treehouse VM on Mac

Vagrant Up authentication and projects folder

Hi!

  1. I'm having problems with the "$ vagrant up" command. I get an authentication error (password not provided) when attempting to run it. I've attached a screenshot of my console and Finder window. I believe I have created a solution for the problem by aborting the command upon authentication failure, and "$ vagrant ssh" - password: treehouse into the VM. This hacky solution may have however inadvertently caused another problem (#2).

  2. I don't seem to have a projects folder in my treehouse VM. I've attached a screenshot of my commands, detailing both problem #1 and #2.

Last login: Sun Oct  5 11:44:06 on console
Coles-MacBook-Pro-2:~ ColeBittel$ pwd
/Users/ColeBittel
Coles-MacBook-Pro-2:~ ColeBittel$ lds
-bash: lds: command not found
Coles-MacBook-Pro-2:~ ColeBittel$ ls
Applications    Downloads   Movies      Public
Desktop     Dropbox     Music       VirtualBox VMs
Documents   Library     Pictures    treehouse
Coles-MacBook-Pro-2:~ ColeBittel$ cd treehouse
Coles-MacBook-Pro-2:treehouse ColeBittel$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 3000 => 3000 (adapter 1)
    default: 22 => 2222 (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: treehouse
    default: SSH auth method: private key
    default: Warning: Connection timeout. Retrying...
    default: Warning: Authentication failure. Retrying...
^C==> default: Waiting for cleanup before exiting...
Vagrant exited after cleanup due to external interrupt.
Coles-MacBook-Pro-2:treehouse ColeBittel$ vagrant ssh
treehouse@127.0.0.1's password: 

Welcome to the Treehouse VM! For help, please see the forum at:

 http://teamtreehouse.com/forum
Last login: Sun Oct  5 12:07:57 2014 from 10.0.2.2
Agent pid 1312
treehouse:~ $ cd projects/
-bash: cd: projects/: No such file or directory
treehouse:~ $ pwd
/home/treehouse
treehouse:~ $ cd projects
-bash: cd: projects: No such file or directory
treehouse:~ $ 

2 Answers

Nicholas Nelson
Nicholas Nelson
3,269 Points

I have the exact same problem. I was wondering if you were able to fix it?

Jason Seifer
STAFF
Jason Seifer
Treehouse Guest Teacher

Herb Sih What happens if you type ls after doing vagrant ssh? /cc Nicholas Nelson