pigeontech / cptserver

A student web development environment using vagrant, virtualbox, and puppet.
28 stars 12 forks source link

SSH problem! #4

Closed christerjohansson closed 10 years ago

christerjohansson commented 10 years ago

The box no longer installs. It gets to the point where it's suppose to log in through SSH, then it fails and shuts down. And also removes it self from the system. Maybe an issue with the keys?

I'm running Vagrant 1.5.3 and VirtualBox 4.3.10 (in Windows 7 Ultimate OS)

Other than the fact that I cant get it to install at all, it looks good.

christerjohansson commented 10 years ago

Strike that. I've been hit with the Pageant-issue, https://github.com/mitchellh/vagrant/issues/1455

pigeontech commented 10 years ago

You closed it just as I was typing! I'm reading that thread now. I've been using Cygwin for my SSH needs and never used Pageant with PuTTY before.

I was going to suggest going into the .vagrant.d directory, with a path like C:\Users\Chris.vagrant.d. There is a key there that I thought might have been relevant.

This project is pretty slow going and it's a learning process for me. I'm currently doing a complete rewrite to organize the code better and to allow for some more config, such as deciding which PHP version to use, and to allow listing PEAR packages to install. I also want to find a way to automatically backup the database on your local Windows machine, just in case the VM messes up and you can't get back in to dump it. The only limiting factor is time.

You might want to check out the PuPHPet website. It's probably the most popular solution now, and it offers lots of extras. The web based config is pretty neat!

christerjohansson commented 10 years ago

Yeah, sorry! :) I'm fast sometimes. I've hard at work with this Vagrant shit for 5 days straight now. Your box is the one I'm going to use from now on. All other boxes had old php-versions and I could not understand how to upgrade through provisioning. I'll try this out for a while and see how things work.

I do like your set-up and coding, nice and tidy! :) :+1: