[Bug 2785] Add -P ssh option as alias for -p to set the port

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Thu Sep 28 07:10:36 AEST 2017


https://bugzilla.mindrot.org/show_bug.cgi?id=2785

Darren Tucker <dtucker at zip.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dtucker at zip.com.au

--- Comment #1 from Darren Tucker <dtucker at zip.com.au> ---
It is actually used in ssh although it's for a deprecated option:

$ grep -C1 "'P'" ssh.c
                        break;
                case 'P':       /* deprecated */
                        options.use_privileged_port = 0;


-oport=N works on both, though.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list