git push heroku master
で 以下の認証エラーが出ます。 (Windows10 Ruby 2.4.4 Rails 5.1.6)
Ruby
1remote: ! WARNING: 2remote: ! Do not authenticate with username and password using git. 3remote: ! Run `heroku login` to update your credentials, then retry the git command. 4remote: ! See documentation for details: 5 https://devcenter.heroku.com/articles/git#http-git-authentication 6fatal: Authentication failed for 'https://git.heroku.com/xxxxxxxxx.git/' 7
以下のサイトを参考にしましたが、うまくいきません。
http://wannabe-jellyfish.hatenablog.com/entry/2017/08/12/234324
heroku auth:token
と入力して、続けて表示された文字列をコピーし、
git push heroku master と入力すると全く同じ認証エラーが出ます。
上記サイトに記述のある以下の入力項目は現れません。 宜しくお願いします。
Username for 'https://git.heroku.com': (空エンター)
Password for 'https://git.heroku.com': コピーした文字列
PS 1. >git push heroku master
この入力初回時にうっかり間違ったPasswordを入力してしまっています。
PS 2. ある著書を参考に、以下のように鍵登録を行っています。
(この鍵登録の前後で、上記のエラー表示に変化はありません)
Ruby
1>heroku keys:add 2Found an SSH public key at C:\Users\××××.ssh\id_rsa.pub 3? Would you like to upload it to Heroku? Yes 4Uploading C:\Users\××××.ssh\id_rsa.pub SSH key... done

回答2件
あなたの回答
tips
プレビュー