hg clone ssh://user@host/path/to/repo
Is simple enough…
But what about when you have a repo called “big repo”. Took me a while to figure out (with ssh verbosity) that a combination of the regular special character ‘\’ and quotes is required for hg to call the right ssh command.
hg clone "ssh://user@host/path/to/big\ repo"