heroku ステージング環境づくり/ Permission Denied, error 503

 エラー内容:

[Terminal]

git push heroku bugfix:master

! Heroku has temporarily disabled this feature, please try again shortly.
! See http://status.heroku.com for current Heroku platform status.

fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

 

[Terminal]

heroku create
!
! Heroku has temporarily disabled this feature, please try again shortly.
! See https://status.heroku.com for current Heroku platform status.

 

[Terminal]

ssh -v git@heroku.com
OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011
debug1: Reading configuration data /Users/HOkaniwa/.ssh/config
debug1: /Users/HOkaniwa/.ssh/config line 5: Applying options for heroku.com
debug1: Reading configuration data /etc/ssh_config
debug1: /etc/ssh_config line 20: Applying options for *
debug1: Connecting to heroku.com [50.19.85.154] port 22.
debug1: Connection established.
debug1: identity file /Users/HOkaniwa/.ssh/heroku_id_rsa type 1
debug1: identity file /Users/HOkaniwa/.ssh/heroku_id_rsa-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.2

-----

debug1: No more authentication methods to try.
Permission denied (publickey).

 

変更:.ssh/config (terminalではなくSublimeTextで開くと編集できる。)

Host github.com
HostName 192.30.252.129
IdentityFile ~/.ssh/githubkey

Host heroku.com
User git
port 22
Hostname heroku.com
IdentityFile ~/.ssh/id_rsa
TCPKeepAlive yes
IdentitiesOnly yes

エラー内容(変化):

debug1: Server accepts key: pkalg ssh-rsa blen 279
debug1: Authentication succeeded (publickey).
Authenticated to heroku.com ([50.19.85.154]:22).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Sending environment.
debug1: Sending env LC_CTYPE = UTF-8
PTY allocation request failed on channel 0
shell request failed on channel 0

 

 

というかんじでしたが、結局この状態でも

git push heroku master はできたので、放っておくことにしました。(?)

 

ーーーーーー

 

予防策:

blog.ruedap.com

 

sekai.hateblo.jp

 

参考文献: 

 

devcenter.heroku.com