bugzilla-daemon at bugzilla.mindrot.org
2017-Sep-27 13:20 UTC
[Bug 2785] New: Add -P ssh option as alias for -p to set the port
https://bugzilla.mindrot.org/show_bug.cgi?id=2785 Bug ID: 2785 Summary: Add -P ssh option as alias for -p to set the port Product: Portable OpenSSH Version: 7.6p1 Hardware: Other OS: All Status: NEW Severity: enhancement Priority: P5 Component: ssh Assignee: unassigned-bugs at mindrot.org Reporter: allcoms at gmail.com Arguably the second most popular SSH util after ssh itself is scp. Confusingly (especially for newcomers) ssh uses -p to set the port to use whilst scp uses -P. I've been using Linux for 21 years now but I still make the mistake of getting the case of these options wrong. As far as I can see, -P isn't currently being used as an option by ssh so I would like to see it added as an alias / alternative to using -p so as to match with scp. PS I've made a lot of feature requests in my time but this one took me the longest to actually get around to. I'm sure its been secretly annoying thousands of other sysadmins for decades too! :) Thanks ssh team! -- You are receiving this mail because: You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2017-Sep-27 21:10 UTC
[Bug 2785] Add -P ssh option as alias for -p to set the port
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.
bugzilla-daemon at bugzilla.mindrot.org
2018-Feb-23 03:24 UTC
[Bug 2785] Add -P ssh option as alias for -p to set the port
https://bugzilla.mindrot.org/show_bug.cgi?id=2785 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |djm at mindrot.org Resolution|--- |WONTFIX -- 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.
bugzilla-daemon at mindrot.org
2021-Apr-23 04:58 UTC
[Bug 2785] Add -P ssh option as alias for -p to set the port
https://bugzilla.mindrot.org/show_bug.cgi?id=2785 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #2 from Damien Miller <djm at mindrot.org> --- closing resolved bugs as of 8.6p1 release -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug.