"The system cannot find the path specified" error when pushing with ssh
Created originally on Bitbucket by rocca23 (Mattia Roccaforte)
I have been following the guide Set up SSH for Mercurial to set up an ssh connection to my bitbucket repo, because I need to push a huge amount of changesets (result of a converted repo) and it fails with the https connection; after thoroughly following it step by step, when pushing with --debug I get this output:
#!console
running "lib/TortoisePlink.exe" -ssh -2 -batch -C hg@bitbucket.org "hg -R team/reponame serve --stdio"
sending hello command
sending between command
remote: The system cannot find the path specified.
no acceptable response from remote hg
[command return code 255 Tue Apr 11 17:09:47 2017]
(some output is translated from my language. Sorry if it differs slightly)
I made sure everything is set up: Pageant is running and key is loaded, ssh public key is set in the bitbucket account settings, I even fixed the path of TortoisePlink.exe to include "lib/". Is the guide possibly outdated? I am using TortoiseHg 4.0.2 with Mercurial 4.0.2