我使用 Windows 8,刚刚从 SmartSVN 7.6 升级到 8.6,在 Windows 7 和 8 上成功使用了 7.6 版本几年。我还能够使用 PuTTY 成功链接到我的存储库......直到我运行 SamrtSVN升级到 8.6。从此我不能再这样做了。无论我尝试哪种方式,无论是 PuTTY 还是通过 SmartSVN,我总是会收到错误消息,指出程序无法连接到存储库。
这是 SmartSVN log.txt 的摘录:
241304 (2015-07-12 12:18:02,762) [QThreadPoolThread-0 (smartsvn.asa)] ERROR smartsvn.server - There was a problem while connecting to xxx.xxx.xxx.xxx:22
java.io.IOException: There was a problem while connecting to xxx.xxx.xxx.xxx:22
at com.trilead.ssh2.Connection.connect(Connection.jav a:817)
at com.trilead.ssh2.Connection.connect(Connection.jav a:686)
at com.syntevo.smartsvn.repository.ssh.i.a(SourceFile :257)
at com.syntevo.smartsvn.repository.ssh.i.a(SourceFile :77)
at com.syntevo.smartsvn.repository.ssh.d.a(SourceFile :146)
at smartsvn.asa.a(SourceFile:24
at smartsvn.vy.run(SourceFile:24)
at smartsvn.vD.run(SourceFile:67)
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at com.trilead.ssh2.transport.ClientServerHello.readL ineRN(ClientServerHello.java:31)
at com.trilead.ssh2.transport.ClientServerHello.<init >(ClientServerHello.java:6
at com.trilead.ssh2.transport.TransportManager.initia lize(TransportManager.java:466)
at com.trilead.ssh2.Connection.connect(Connection.jav a:757)
... 7 more
241634 (2015-07-12 12:18:03,092) [QThreadPoolThread-3 (smartsvn.vx)] WARN com.syntevo.svn.remote.SuHlSvnRemoteStatusScanner - Remote status scanner failed for svn+ssh://xxx.xxx.xxx.xxx/var/svn/xxx
241635 (2015-07-12 12:18:03,093) [QThreadPoolThread-3 (smartsvn.vx)] ERROR smartsvn.remote-state.refresh - Can't create session
svn: Unable to connect to a repository at URL 'svn+ssh://xxx.xxx.xxx.xxx/var/svn/xxxt/trunk'
Network connection closed unexpectedly
svn: To better debug SSH connection problems, remove the -q option from 'ssh' in the [tunnels] section of your Subversion configuration file.
我已经一次又一次地卸载并重新安装,现在正在运行 SmartSVN 便携版 9,但我所做的似乎没有任何效果。我什至尝试过重新安装 7.6,但现在即使这样也无法连接,并且通过任何其他方式尝试 SSH 连接都不起作用。
我可以使用便携式版本 9 在我的笔记本电脑(运行 Windows 10 的预览版)上使用 SmartSVN 和 PuTTY 进行连接,但我在我的 PC 上执行的操作似乎无济于事。
我完全不知道如何解决这个问题,甚至无法恢复到我原来的原始 7.6 状态。有人可以帮忙吗?