Search code examples
gitwindows-8smartgit

Smartgit can not clone: Please set the VM property sshClient.scriptPath to directory without spaces


64bit Windows 8 Smartgit/Hg 5.0.8

I get this error when trying to clone to directory repository from bitbucket:

Please set the VM Property sshClient.scriptPath to a directory without spaces in its path and restart SmartGit/Hg!

Where should i set that path? and what should be the value?


Solution

  • I ran across the same problem on a Windows 7 machine at work. Create a temp directory with no spaces in the path like

    C:\git\tmp

    And then open up %AppData%\syntevo\SmartGit\ and find your smartgit.properties file. Add the following property

    java.io.tmpdir=c:\git\tmp