[issue901] putty "-p" should be "-P" to specify an alternate SSH port number

Stephen Vermeulen mercurial-bugs at selenic.com
Fri Dec 28 23:00:58 UTC 2007


New submission from Stephen Vermeulen <stephen at vermeulen.ca>:

If you include a port number in the SSH URL then Hg will pass that port number
to plink.exe with a "-p", this results in the following error:

C:\temp>hg clone ssh://user@webanno.com:21//user/webanno
remote: plink: unknown option "-p"
abort: no suitable response from remote hg!

according to putty's docs the correct way to do this is with "-P" (capital P).

----------
messages: 4736
nosy: svermeul
priority: bug
status: unread
title: putty "-p" should be "-P" to specify an alternate SSH port number

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue901>
____________________________________________________




More information about the Mercurial-devel mailing list