I routinely run
sshd on a non-standard port (ie, not 22).
ssh-ing to my machine I use the
-p flag. However, when using
scp, the flag is
-P (lowercase vs uppercase).
Since they come out of the same suite, why would then not use the same flag capitalization? Is it really just because two different folks wrote it? Neither uses the other form of "p" for anything - wouldn't it make sense for them to work identically*?
*I know - I could modify the source and have a package that accepted both forms: but that does not solve the upstream issue, nor would I expect my patch submission to ever make it into the trunk code (though I'll be giving it a shot).