
- #Tortoisehg push and pull from command line full
- #Tortoisehg push and pull from command line software
TortoisePlink (developed by the TortoiseSVN project) can use the other SSH tools that are part of the Plink toolchain, including the Pageant key agent. TortoisePlink is a port of the Plink SSH client that uses dialog prompts for host-key authorizations and passphrase prompts. This is problematic on Windows and thus TortoiseHg bundles the TortoisePlink SSH client with its Windows installers.

SSH clients and servers have their own key management systems, so Mercurial does not get involved with password prompts when SSH is used. SSH is a symmetrical peer-to-peer secure tunnel. On Windows, that's not a reasonable assumption, so TortoiseHg bundles a client: On Unix, it just runs ssh and expects to have a suitable client already installed (which is a safe bet since the vast majority of Unix systems either have an SSH client preinstalled or can have one installed relatively easily).
#Tortoisehg push and pull from command line software
No, there isn't any way to do this without installing or using some software other than TortoiseHg itself. In this case in Mercurial config you can use just like this:
#Tortoisehg push and pull from command line full

# ssh = "PATH_TO_ANY_OTHER_SSH_CLIENT_LIKE_CYGWIN" Ssh = "C:\Program Files (x86)\Git\bin\ssh.exe" If you have installed git or cygwin (or any other way to use ssh on Windows), it is possible to use third party ssh client pointing path in Mercurial config:

Ssh = "C:\Program Files\TortoiseHg\lib\TortoisePlink.exe" -ssh -i %USERPROFILE%.ssh\id_rsa.ppk Use TortoisePlink as ssh client with explicit key reference in Mercurial config ( %USERPROFILE%\.hgrc or %USERPROFILE%\Mercurial.ini): Looks like opposite to git Mercurial does not provide own ssh client, so using Plink and Pageant is mandatory, except two workarounds:
