2

Smartgit は常にログイン フォームをポップアップし続けます。

サーバーにgitをデプロイしました。git設定の指示に正確に従ってください。

次に、オープン SSH 秘密鍵を puttygen で生成し、パスフレーズを入力し、「public key...authorized_keys file:」ボックス内のコードをメモ帳 ++ に入力します。

その後、キーをコピーしてauthorized_keysファイル「git/.ssh/authorized_keys」に置き、その中のすべての末尾文字を削除しました。

次に、「ssh://git@mygitserver:myport/myproject.git」を介してリポジトリをクローンし、以前に生成された SSH 秘密鍵を開き、パスフレーズを入力してログインします。

私はたくさんグーグルで検索し、所有者をgitユーザーに変更し、権限を変更し、キーファイルを編集しようとしましたが、それでも絶望的です。

Smartgit は常にログイン フォームをポップアップし続けます。どうすれば修正できますか?

コマンドラインでも SmartGit を使用してもリポジトリに接続できません。これは私のログの内容です: `

19143347 (2013-09-07 13:24:00,907) [QThreadPoolThread-2 (smartgit.aES)] WARN  smartgit.ssh.client.ui  - could not authenticate, trying again
java.io.IOException: Publickey authentication failed.
    at com.trilead.ssh2.auth.AuthenticationManager.authenticatePublicKey(AuthenticationManager.java:314)
    at com.trilead.ssh2.Connection.authenticateWithPublicKey(Connection.java:466)
    at com.trilead.ssh2.Connection.authenticateWithPublicKey(Connection.java:519)
    at com.syntevo.dvcs.transport.ssh.f.a(SourceFile:39)
    at com.syntevo.dvcs.transport.ssh.m.a(SourceFile:150)
    at com.syntevo.dvcs.transport.ssh.h.a(SourceFile:141)
    at smartgit.aES.a(SourceFile:61)
    at smartgit.UL.run(SourceFile:24)
    at smartgit.UQ.run(SourceFile:65)
Caused by: java.io.IOException: Sorry, this connection is closed.
    at com.trilead.ssh2.transport.TransportManager.sendMessage(TransportManager.java:647)
    at com.trilead.ssh2.auth.AuthenticationManager.authenticatePublicKey(AuthenticationManager.java:282)
    ... 8 more
Caused by: java.io.IOException: Cannot read full block, EOF reached.
    at com.trilead.ssh2.crypto.cipher.CipherInputStream.getBlock(CipherInputStream.java:81)
    at com.trilead.ssh2.crypto.cipher.CipherInputStream.read(CipherInputStream.java:108)
    at com.trilead.ssh2.transport.TransportConnection.receiveMessage(TransportConnection.java:232)
    at com.trilead.ssh2.transport.TransportManager.receiveLoop(TransportManager.java:681)
    at com.trilead.ssh2.transport.TransportManager$1.run(TransportManager.java:480)
    at java.lang.Thread.run(Unknown Source)
19144230 (2013-09-07 13:24:01,790) [QThreadPoolThread-2 (smartgit.aES)] WARN  smartgit.ssh.client.ui  - could not authenticate, trying again
java.io.IOException: pubkey authentication failed
    at com.syntevo.dvcs.transport.ssh.f.a(SourceFile:40)
    at com.syntevo.dvcs.transport.ssh.m.a(SourceFile:150)
    at com.syntevo.dvcs.transport.ssh.h.a(SourceFile:141)
    at smartgit.aES.a(SourceFile:61)
    at smartgit.UL.run(SourceFile:24)
    at smartgit.UQ.run(SourceFile:65)
19144231 (2013-09-07 13:24:01,791) [Thread-163] ERROR smartgit.ssh.trilead  - com.trilead.ssh2.transport.TransportManager: Receive thread: error in receiveLoop: socket closed
19144841 (2013-09-07 13:24:02,401) [main] INFO              q.dialog  - Showing dialog 75 (@1E95534) '@1D8EDCE - SSH Authentication' (owner: @520C83)
19144859 (2013-09-07 13:24:02,419) [main] INFO  q.swt.shellActivation  - shell deactivated Shell {Clone}@520C83
19144860 (2013-09-07 13:24:02,420) [main] INFO  q.swt.shellActivation  - shell activated Shell {SSH Authentication}@1E95534
19144860 (2013-09-07 13:24:02,420) [main] INFO  q.swt.shellActivation  - Activation change from Shell {Clone}@520C83 to Shell {SSH Authentication}@1E95534
19146675 (2013-09-07 13:24:04,235) [main] INFO  q.swt.shellActivation  - shell deactivated Shell {SSH Authentication}@1E95534
19146677 (2013-09-07 13:24:04,237) [main] INFO  q.swt.shellActivation  - Activation change from Shell {SSH Authentication}@1E95534 to null
19264293 (2013-09-07 13:26:01,853) [Thread-165] ERROR smartgit.ssh.trilead  - com.trilead.ssh2.transport.TransportManager: Receive thread: error in receiveLoop: Cannot read full block, EOF reached.
23254777 (2013-09-07 14:32:32,337) [main] INFO  q.swt.shellActivation  - shell activated Shell {SSH Authentication}@1E95534
23254777 (2013-09-07 14:32:32,337) [main] INFO  q.swt.shellActivation  - Activation change from null to Shell {SSH Authentication}@1E95534
23257318 (2013-09-07 14:32:34,878) [main] INFO  q.swt.shellActivation  - shell deactivated Shell {SSH Authentication}@1E95534
23257320 (2013-09-07 14:32:34,880) [main] INFO  q.swt.shellActivation  - Activation change from Shell {SSH Authentication}@1E95534 to null
23325752 (2013-09-07 14:33:43,312) [main] INFO  q.swt.shellActivation  - shell activated Shell {SSH Authentication}@1E95534
23325752 (2013-09-07 14:33:43,312) [main] INFO  q.swt.shellActivation  - Activation change from null to Shell {SSH Authentication}@1E95534
23326238 (2013-09-07 14:33:43,798) [main] INFO  q.swt.shellActivation  - shell deactivated Shell {SSH Authentication}@1E95534
23326239 (2013-09-07 14:33:43,799) [main] INFO  q.swt.shellActivation  - Activation change from Shell {SSH Authentication}@1E95534 to null

`

4

2 に答える 2