Using the new Windows 10 ssh client with TortoiseHg

After a little trial and error I got TortoiseHg to successfully use the ssh client that is now built into Windows 10.

It's nice because it doesn't require conversion of your private key to ppk format - as plink required - so you can use a standard id_rsa file (easy if you're using *nix as well as Windows).

It does not provide a GUI prompt for encrypted keys - it's looking to stdin for the password, which it will never receive, so unfortunately you'll need a plain-text private key.

Put your decrypted private key in /Users/yourname/.ssh and use the following command line in your TortoiseHg settings -> Sync -> SSH Command:

C:\Windows\System32\OpenSSH\ssh.exe -2

I'm also exploring the use of the ssh-agent ... currently thwarted by the fact that this service simply won't run.



Comments

Popular posts from this blog

Creamoata

Windows FILETIME to Javascript Date