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

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Wed Sep 27 23:20:52 AEST 2017


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.


More information about the openssh-bugs mailing list