我从这个网址导入了git:
/home/pragis/NextThermal/.git/
在给出git详细信息后,我收到以下错误:
Click here to view error
尝试联系git@192.168.1.251:22/home/pragis/NextThermal/.git/
时发生错误
有关详细信息,请参阅错误日志
可能的原因:
错误日志
org.eclipse.jgit.api.errors.TransportException: git@192.168.1.251:/home/pragis/NextThermal/.git/: Connection timed out: connect
at org.eclipse.jgit.api.LsRemoteCommand.execute(LsRemoteCommand.java:223)
at org.eclipse.jgit.api.LsRemoteCommand.call(LsRemoteCommand.java:159)
at org.eclipse.egit.core.op.ListRemoteOperation.run(ListRemoteOperation.java:99)
at org.eclipse.egit.ui.internal.clone.SourceBranchPage$8.run(SourceBranchPage.java:339)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: org.eclipse.jgit.errors.TransportException: git@192.168.1.251:/home/pragis/NextThermal/.git/: Connection timed out: connect
at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:158)
at org.eclipse.jgit.transport.SshTransport.getSession(SshTransport.java:136)
at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:262)
at org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:161)
at org.eclipse.jgit.api.LsRemoteCommand.execute(LsRemoteCommand.java:202)
... 4 more