我已经在本地服务器上安装了gitblit,但不知道为什么我不能运行“Authority”密钥生成器。
它失败了
C:\Program Files (x86)\gitblit>authority INFO Using JCE Unlimited Strength Jurisdiction Policy files ${baseFolder} 设置为 C:\Program Files (x86)\gitblit\data 线程“AWT-EventQueue-0”java 中的异常。 lang.NullPointerException at com.gitblit.authority.GitblitAuthority.load(GitblitAuthority.java:305) at com.gitblit.authority.GitblitAuthority.initialize(GitblitAuthority.ja va:193) at com.gitblit.authority.GitblitAuthority$1.run( GitblitAuthority.java:16 3) 在 java.awt.event.event.InvocationEvent.dispatch(Unknown Source) 在 java.awt.EventQueue.dispatchEventImpl(Unknown Source) 在 java.awt.EventQueue.access$200(Unknown Source) 在 java.awt .EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security。AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt。 EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread。运行(未知来源)EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread。 java.awt.EventDispatchThread.run(未知源)上的 pumpEvents(未知源)EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread。 java.awt.EventDispatchThread.run(未知源)上的 pumpEvents(未知源)
C:\Program 文件 (x86)\gitblit>
这是服务运行和服务停止的情况。我完全不知道如何在我的系统上生成和使用 SSH 密钥。
附带说明一下,如果/当我开始工作时,如何将它与 Windows 中的另一个 git ssh 密钥(github)并排安装,以与 Powershell 一起使用?