Ошибка «Auth Fail» при клонировании GIT-репозитория - PullRequest
0 голосов
/ 27 августа 2018

Я пытаюсь клонировать git-репозиторий на мою Mac машину, используя GitEye . Этот репозиторий присутствует на локальном сервере Windows . Я пытаюсь клонировать хранилище с помощью команд SSH .

Недавно у меня возникла проблема с операцией клонирования. Я получаю следующее сообщение об ошибке:

org.eclipse.jgit.api.errors.TransportException: ssh://Admin@192.168.1.106:22/D://Repository/ABC: Auth fail
    at org.eclipse.jgit.api.LsRemoteCommand.execute(LsRemoteCommand.java:221)
    at org.eclipse.jgit.api.LsRemoteCommand.call(LsRemoteCommand.java:159)
    at org.eclipse.egit.core.op.ListRemoteOperation.run(ListRemoteOperation.java:100)
    at org.eclipse.egit.ui.internal.clone.SourceBranchPage$8.run(SourceBranchPage.java:341)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
Caused by: org.eclipse.jgit.errors.TransportException: ssh://Admin@192.168.1.106:22/D://Repository/ABC: Auth fail
    at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:160)
    at org.eclipse.jgit.transport.SshTransport.getSession(SshTransport.java:137)
    at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:264)
    at org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:162)
    at org.eclipse.jgit.api.LsRemoteCommand.execute(LsRemoteCommand.java:198)
    ... 4 more
Caused by: com.jcraft.jsch.JSchException: Auth fail
    at com.jcraft.jsch.Session.connect(Session.java:512)
    at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:117)
    ... 8 more

Буду признателен за любые предложения и мысли по этой теме. Спасибо.

EDIT:

Когда я пытаюсь проверить соединение SSH из командной строки

Octanes-ABC:~ Octane_XYZ$ ssh Admin@192.168.1.106
Connection closed by 192.168.1.106 port 22
...