存在しないユーザーのケンゲンを誤って作成してしまいました。コマンドはcat ~/.ssh/authorized_keys >> keydir/jpeck.pub
実際には... 私はそうするつもりはありませんでした。
を使用してファイルを既に削除しましrm jpeck.pub
たが、確かになくなっています。ただし、SourceTree を使用してコミットをプッシュしようとすると、次のエラーが発生します。
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree push -v --tags --set-upstream origin refs/heads/master:refs/heads/master
Pushing to ssh://git@sandbox.dev:2222/dashboard.git
W access for dashboard DENIED to jpeck
(Or there may be no repository at the given path. Did you spell it correctly?)
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Completed with errors, see above
次のメッセージYour commit succeeded but your push failed. To retry your push, use the Push toolbar button.
正しいユーザー名のキー生成を作成しました。他に何をする必要があるのか わかりません..試してみsudo service apache2 restart
ましたが、効果がありませんでした。私は git のインストールの初心者ですが、愚かな間違いを犯すこともありました。今日はとても疲れています。