Permalink
Browse files

After seeing it on GitHub I just couldn't stand seeing the private SS…

…H key checked in, even temporarily, so I'm removing it. For now we'll have to remember to generate this before running everything, and there's an error message if we forget (on the host VM at least).
  • Loading branch information...
1 parent dda461b commit 69376765b8b69f84af449df415f464c986d8662f @TimSimpsonR TimSimpsonR committed with Jun 14, 2011
View
@@ -33,3 +33,4 @@ contrib/tty.tgz
*.sqlite
vagrantup.*
.apitoken
+integration/vagrant/common/ssh/id_rsa*
@@ -0,0 +1,10 @@
+# This is meant to be called from the volume box.
+if [ ! -f /vagrant-common/ssh/id_rsa ] || [ ! -f /vagrant-common/ssh/id_rsa.pub ]
+then
+ echo 'Missing ssh key. Use ssh-keygen to create key at /vagrant-common/ssh/ (leave options such as passphrase empty).'
+ exit 1
+fi
+cp /vagrant-common/ssh/id_rsa.pub /home/vagrant/.ssh/id_rsa.pub
+cp /vagrant-common/ssh/id_rsa /home/vagrant/.ssh/id_rsa
+sudo cp /vagrant-common/ssh/id_rsa.pub /root/.ssh/id_rsa.pub
+sudo cp /vagrant-common/ssh/id_rsa.pub /root/.ssh/id_rsa
@@ -1,27 +0,0 @@
------BEGIN RSA PRIVATE KEY-----
-MIIEoAIBAAKCAQEA5tC6sjUdOlTWC3cytGYlPWz+FNCy89lEDFIa7JBhv8mwwPNI
-ji4kAT/hPeXELZSAT9h4vZMkhMTGicY0h+HQoaPueCuyLQExJtAdIpdZ0PqCbKk3
-dMwWA2XgOcNmHmwUxgoixf/3y+GU1wc93MyVj2hKK6Ss7yDXoWQiJVR/x3biUX50
-Sv8cBAHeuxhI/BwV2B3u2fovz/73AEy3vYNcbLws8IER9K1/Fnewa9SBFT9820dF
-E+yyIOFObTwl3Ottk24iWvR5dloIPomUmH7e31p9B/exmIk9rRLODwa245HEWwSX
-KU/G6bRgJWZ0XWTm64oAZKdDNOi83+LRK0F26wIBIwKCAQA7Wj6i2nU64p1wqZ9S
-9bHN93SJAncowtb72pk1hDZkhFIFuubFeZQ61el2UQaPYLNHu1I/YF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WXHZptMBGlz+qH8LOLYAAOE7vYZHP69f+Eu/PGdDts7ziZS0k6H
-eykaE1ChO4mbL5scK5IX44AcBs5rE6/PQeMXbFHmyaUj/66V
------END RSA PRIVATE KEY-----
@@ -1 +0,0 @@
-ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA5tC6sjUdOlTWC3cytGYlPWz+FNCy89lEDFIa7JBhv8mwwPNIji4kAT/hPeXELZSAT9h4vZMkhMTGicY0h+HQoaPueCuyLQExJtAdIpdZ0PqCbKk3dMwWA2XgOcNmHmwUxgoixf/3y+GU1wc93MyVj2hKK6Ss7yDXoWQiJVR/x3biUX50Sv8cBAHeuxhI/BwV2B3u2fovz/73AEy3vYNcbLws8IER9K1/Fnewa9SBFT9820dFE+yyIOFObTwl3Ottk24iWvR5dloIPomUmH7e31p9B/exmIk9rRLODwa245HEWwSXKU/G6bRgJWZ0XWTm64oAZKdDNOi83+LRK0F26w== vagrant@host

0 comments on commit 6937676

Please sign in to comment.