For those who don't want to install Python, a simple PowerShell script will 
do. It has the same behavior that the window briefly blinks up, but it 
otherwise works. Create a file named sshNoWindow.ps1 with the contents:

Start-Process -FilePath c:\windows\system32\openssh\ssh.exe -Wait 
-NoNewWindow -ArgumentList "$args"

Then, set your ssh client setting to:

powershell -WindowStyle hidden -File "c:\full\path\to\sshNoWindow.ps1" 

 Nathan

On Thursday, March 29, 2018 at 3:47:05 AM UTC-4, Paul Klapperich wrote:
>
> The latest Windows 10 (Fall Creators Update aka ver 1709) has an OpenSSH 
> client and server that can be installed via as any other option Windows 
> component. See this MSDN blog post: 
>
> https://blogs.msdn.microsoft.com/powershell/2017/12/15/using-the-openssh-beta-in-windows-10-fall-creators-update-and-windows-server-1709/
>  
>
> One of the benefits of this ssh client is the ssh-agent system service can 
> hold your ssh identity securely so that the identity is available when you 
> log in, but not accessible by other users. You can actually delete the 
> private key file from your HDD after you "ssh-add" it to the agent! If 
> another user (say an admin) changes your password, the key becomes 
> inaccessible. 
>
> ... 
>
> I was able to get it working with TortoiseSVN with the setting TortoiseSVN 
> Settings -> Network -> SSH Client: c:\windows\system32\openssh\ssh.exe 
>
> This works great from the command prompt. I can "svn checkout 
> svn+ssh://foo/path" and it looks in %userprofile%\.ssh\config for host 
> definitions (just like it would on Unix) and does the checkout. 
>
> But from the GUI it's a little irritating. Via Windows Explorer, if I 
> Right Click and choose "SVN Checkout" I'm able to checkout svn+ssh:// urls 
> and everything works, BUT it opens a command window during the process. If 
> I close that window it breaks the pipe and checkout fails: 
> https://imgur.com/qNNMaCql.png 
>
> Do any Windows Gurus know a way to prevent the window from appearing?

-- 
You received this message because you are subscribed to the Google Groups 
"TortoiseSVN" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tortoisesvn/2950805e-8d6a-4565-8d78-9761932ddbb2%40googlegroups.com.
  • TortoiseS... tortoisesvn+APn2wQfnw2fAUX2MzIo65jZeA1rH_G1LHeH3ZvHbpFrj9UVz1cjw
    • Re: ... Stefan via TortoiseSVN
      • ... Paul Klapperich via TortoiseSVN
      • ... tortoisesvn+APn2wQeOV-P8kMQ5PVKZAWqQNFTv5RNqTmU96DRHeL6dZAWTDBjp
        • ... Stefan via TortoiseSVN
          • ... tortoisesvn+APn2wQfV2gM2BYWPzNZvnd4gLtGAH3pf6rgXAIOBrObRHbNf5ZsR
            • ... TortoiseSVN
              • ... Stefan via TortoiseSVN
              • ... tortoisesvn+APn2wQfV2gM2BYWPzNZvnd4gLtGAH3pf6rgXAIOBrObRHbNf5ZsR
      • ... Oliver Smith via TortoiseSVN
    • Re: ... tortoisesvn+APn2wQdgxbK3CgqO2rgIXa1GkHQUmRhnDw3JvLUkhfgFyEU8pV-6

Reply via email to