Permission Denied Using Mercurial and SSH Keys
プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム。
この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。
*Fisheye および Crucible は除く
症状
Fisheye is configured to connect to a Mercurial repository over SSH, using SSH keys. When trying to connect to the repository Fisheye produces the following error message:
Exception executing command "hg clone -r 0 ssh://fisheye@localhost//hg/repository/usr/local/fecru-2.3.6/var/tmp/hg_test_clone_1286215449717 " Non-zero exit code: 255 abort: no suitable response from remote hg!
com.atlassian.fisheye.plugins.scm.utils.process.ProcessException - Non-zero exit code: 255
Error talking to repository: remote: Permission denied, please try again. remote: Permission denied, please try again. remote: Permission denied (publickey,gssapi-with-mic,password). abort: no suitable response from remote hg!原因
This error will be thrown if the user running Fisheye doesn't have the SSH keys configured properly to access the remote Mercurial repository. For example, you may have configured the SSH keys for the fisheye user, but you may be running the Fisheye application as root.
ソリューション
Please ensure that Fisheye is running as the user that has access to the SSH keys.
この内容はお役に立ちましたか?