Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Github RSA Fingerprint #106

Open
cgarvis opened this issue Mar 4, 2014 · 1 comment
Open

Github RSA Fingerprint #106

cgarvis opened this issue Mar 4, 2014 · 1 comment

Comments

@cgarvis
Copy link

cgarvis commented Mar 4, 2014

when running cap deploy:setup, I get stuck on the gem install.

  * executing "sudo -p 'sudo password: ' su - entelo -c 'cd /home/entelo/app && bundle install --gemfile Gemfile --path /home/entelo/app/vendor/gems --deployment --quiet --binstubs --without development test'"
    servers: ["ec2-54-203-146-250.us-west-2.compute.amazonaws.com"]
    [ec2-54-203-146-250.us-west-2.compute.amazonaws.com] executing command
 ** [out :: ec2-54-203-146-250.us-west-2.compute.amazonaws.com] Your Gemfile lists the gem spork (>= 0) more than once.
 ** [out :: ec2-54-203-146-250.us-west-2.compute.amazonaws.com] You should probably keep only one of them.
 ** [out :: ec2-54-203-146-250.us-west-2.compute.amazonaws.com] While it's not a problem now, it could cause errors if you change the version of just one of them later.
 ** [out :: ec2-54-203-146-250.us-west-2.compute.amazonaws.com] The authenticity of host 'github.com (192.30.252.129)' can't be established.
 ** [out :: ec2-54-203-146-250.us-west-2.compute.amazonaws.com] RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
 ** [out :: ec2-54-203-146-250.us-west-2.compute.amazonaws.com] Are you sure you want to continue connecting (yes/no)?

I've gotten pass this by using ssh-keyscan on the deploy user, but then I get public key errors from github.

  * executing "sudo -p 'sudo password: ' su - entelo -c 'cd /home/entelo/app && bundle install --gemfile Gemfile --path /home/entelo/app/vendor/gems --deployment --quiet --binstubs --without development test'"
    servers: ["ec2-54-203-146-250.us-west-2.compute.amazonaws.com"]
    [ec2-54-203-146-250.us-west-2.compute.amazonaws.com] executing command
 ** [out :: ec2-54-203-146-250.us-west-2.compute.amazonaws.com] Your Gemfile lists the gem spork (>= 0) more than once.
 ** [out :: ec2-54-203-146-250.us-west-2.compute.amazonaws.com] You should probably keep only one of them.
 ** [out :: ec2-54-203-146-250.us-west-2.compute.amazonaws.com] While it's not a problem now, it could cause errors if you change the version of just one of them later.
 ** [out :: ec2-54-203-146-250.us-west-2.compute.amazonaws.com] Permission denied (publickey).
 ** [out :: ec2-54-203-146-250.us-west-2.compute.amazonaws.com] fatal: The remote end hung up unexpectedly
 ** [out :: ec2-54-203-146-250.us-west-2.compute.amazonaws.com] Retrying git clone 'git@github.com:entelo/acts-as-taggable-on.git' "/home/entelo/app/vendor/gems/ruby/2.0.0/cache/bundler/git/acts-as-taggable-on-6525f53ba68de66e281f5c097a38c3bcf6c7a285" --bare --no-hardlinks --quiet due to error (2/3): Bundler::Source::Git::GitCommandError Git error: command `git
clone 'git@github.com:entelo/acts-as-taggable-on.git' "/home/entelo/app/vendor/gems/ruby/2.0.0/cache/bundler/git/acts-as-taggable-on-6525f53ba68de66e281f5c097a38c3bcf6c7a285" --bare --no-hardlinks --quiet` in directory /home/entelo/app has failed.
 ** [out :: ec2-54-203-146-250.us-west-2.compute.amazonaws.com] Permission denied (publickey).
 ** [out :: ec2-54-203-146-250.us-west-2.compute.amazonaws.com] fatal: The remote end hung up unexpectedly
 ** [out :: ec2-54-203-146-250.us-west-2.compute.amazonaws.com] Retrying git clone 'git@github.com:entelo/acts-as-taggable-on.git' "/home/entelo/app/vendor/gems/ruby/2.0.0/cache/bundler/git/acts-as-taggable-on-6525f53ba68de66e281f5c097a38c3bcf6c7a285" --bare --no-hardlinks --quiet due to error (3/3): Bundler::Source::Git::GitCommandError Git error: command `git
clone 'git@github.com:entelo/acts-as-taggable-on.git' "/home/entelo/app/vendor/gems/ruby/2.0.0/cache/bundler/git/acts-as-taggable-on-6525f53ba68de66e281f5c097a38c3bcf6c7a285" --bare --no-hardlinks --quiet` in directory /home/entelo/app has failed.
 ** [out :: ec2-54-203-146-250.us-west-2.compute.amazonaws.com] Permission denied (publickey).
 ** [out :: ec2-54-203-146-250.us-west-2.compute.amazonaws.com] fatal: The remote end hung up unexpectedly
 ** [out :: ec2-54-203-146-250.us-west-2.compute.amazonaws.com] Git error: command `git clone 'git@github.com:entelo/acts-as-taggable-on.git'
 ** [out :: ec2-54-203-146-250.us-west-2.compute.amazonaws.com] "/home/entelo/app/vendor/gems/ruby/2.0.0/cache/bundler/git/acts-as-taggable-on-6525f53ba68de66e281f5c097a38c3bcf6c7a285"
 ** [out :: ec2-54-203-146-250.us-west-2.compute.amazonaws.com] --bare --no-hardlinks --quiet` in directory /home/entelo/app has failed.

I've tested on 1.2.2 and HEAD

@cgarvis
Copy link
Author

cgarvis commented Mar 12, 2014

Changing all the gems to use https instead of ssh solved this issue. But this is a temporary fix.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant