Git client and Windows OpenSSH
Hi, I have troubles with using git client on Windows. I have custom git config file configured for OpenSSH client integrated into Windows. It works fine from a command line. However it seems that oXygen git client ignores this config even when in options I choose to use "Win32 Open SSH" as SSH agent. Are there any options/preferences that can be used to explicitly specify executable for SSH to be used by oXygen git client (e.g. something like core.sshcommand=C:/Windows/System32/OpenSSH/ssh.exe in git config)? Or is there a way to get more detailed diagnostic messages so I can see what gone wrong? Many thanks in advance, Jirka -- ------------------------------------------------------------------ Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz ------------------------------------------------------------------ Professional XML and Web consulting and training services DocBook/DITA customization, custom XSLT/XSL-FO document processing ------------------------------------------------------------------ Bringing you XML Prague conference http://xmlprague.cz ------------------------------------------------------------------ _______________________________________________ oXygen-user mailing list -- oxygen-user@oxygenxml.com To unsubscribe send an email to oxygen-user-leave@oxygenxml.com
Hi, Our Git Client Add-on uses JGit (a Java-written Git library), which in turn uses Apache MINA SSHD for supporting the SSH protocols. In other words, part of the add-on's functionality depends on things that are not in our hands and we also don't fully know how they work :). Hopefully, activating full logging for the Git Client Add-on may show us something useful... To do that, you need to follow these steps: 1. Create a *logback.xml *file in the *lib* folder of the Oxygen installation folder, with the following content: <configuration> <appender name="R2" class="ch.qos.logback.core.rolling.RollingFileAppender"> <file>${user.home}/Desktop/oxygenLog/oxygen.log</file> <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"> <fileNamePattern>${user.home}/Desktop/oxygenLog/oxygen%i.log.gz</fileNamePattern> <minIndex>1</minIndex> <maxIndex>20</maxIndex> </rollingPolicy> <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"> <maxFileSize>12MB</maxFileSize> </triggeringPolicy> <encoder> <pattern>%r %marker %p [ %t ] %c - %m%n</pattern> </encoder> </appender> <logger name="com.oxygenxml.git" level="debug"/> <root level="error"> <appender-ref ref="R2" /> </root> </configuration> 2. Restart Oxygen. 3. Perhaps try pulling from a remote where you are authenticated via SSH. 4. Close Oxygen to avoid logging flooding :). 5. Delete the logback.xml file because it might cause performance issues if you leave it in the lib folder. The resulting log files are located in the *Desktop\oxygenLog* folder. You can take a look at that logs and, if you also want us to analyze it, send it to support@oxygenxml.com. By the way, if you don't see anything interesting in the Git Client's logs, perhaps you can add <logger name="org.apache.sshd.client" level="debug"/> in the logback configuration file, but this might be very verbose... In regards to core.sshcommand, it seems it wouldn't work with JGit... All the best wishes, Sorin Carbunaru Oxygen XML Editor On 7/29/2026 4:24 PM, Jirka Kosek wrote:
Hi,
I have troubles with using git client on Windows. I have custom git config file configured for OpenSSH client integrated into Windows. It works fine from a command line.
However it seems that oXygen git client ignores this config even when in options I choose to use "Win32 Open SSH" as SSH agent.
Are there any options/preferences that can be used to explicitly specify executable for SSH to be used by oXygen git client (e.g. something like core.sshcommand=C:/Windows/System32/OpenSSH/ssh.exe in git config)?
Or is there a way to get more detailed diagnostic messages so I can see what gone wrong?
Many thanks in advance,
Jirka
_______________________________________________ oXygen-user mailing list --oxygen-user@oxygenxml.com To unsubscribe send an email tooxygen-user-leave@oxygenxml.com
-- All the best wishes, Sorin Carbunaru Oxygen XML Editor This e-mail (including any attachments) may contain confidential or privileged information and is intended only for the designated recipient(s). The information contained in this e-mail is for information purposes only. It may contain the personal views of the author, which are not necessarily the views of the company. If you are not the intended recipient you may not review, retain, disseminate, distribute or copy this communication. If you have received this communication in error, please notify us immediately—by replying to this message—and destroy all copies of this e-mail and any attachments. Thank you. _______________________________________________ oXygen-user mailing list -- oxygen-user@oxygenxml.com To unsubscribe send an email to oxygen-user-leave@oxygenxml.com
participants (2)
-
Jirka Kosek -
Oxygen XML Editor Support (Sorin Carbunaru)