Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Mar 202011

Clone a remote Mercurial repository over SSH


To clone a remote Mercurial repository over SSH, is easy with the following command.


# hg clone ssh://john@remote-host//remote-folder /local-folder

The key is the double slash //

That's it.

 Leave a Reply



You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>