현재 capistrano3을 사용하여 기존 ssh 키 (XXXXX.pem) 으로 AWS에 레일 응용 프로그램을 배포했습니다. 이미 AWS 서버 설정 (예 : 루비, 레일즈, sqlite3 설치 및 ..etc) 그러나 나는 알 수없는 몇 가지 문제를 만났습니다. 먼저, $ cap install을 사용하여 deploy.rb ... 등을 생성했습니다. 설정에서 설정/deploy.rb =>AWS에 레일 응용 프로그램 배포
https://github.com/Gtar69/games/blob/master/config/deploy.rb
는/내가 $ 캡 준비하려고 할 때/staging.rb
https://github.com/Gtar69/games/blob/master/config/deploy/staging.rb
그러나, AWS에를 배포 배포에, 그것은 보여줬다
INFO[6b5414be] Running /usr/bin/env mkdir -p /tmp/GameStore/ on 54.241.249.27
DEBUG[6b5414be] Command: /usr/bin/env mkdir -p /tmp/GameStore/
cap aborted!
SSHKit::Runner::ExecuteError: Exception while executing on host 54.241.249.27: Authentication failed for user [email protected]
/home/chris/.rvm/gems/ruby-2.0.0-p481/gems/net-ssh-2.9.1/lib/net/ssh.rb:219:in `start'
/home/chris/.rvm/gems/ruby-2.0.0-p481/gems/sshkit-1.5.1/lib/sshkit/backends/connection_pool.rb:50:in `call'
/home/chris/.rvm/gems/ruby-2.0.0-p481/gems/sshkit-1.5.1/lib/sshkit/backends/connection_pool.rb:50:in
아무도 그것을 도울 수 있습니까? 감사합니다.