News for hackers. Stuff that matters.
Re:What do Unix command names stand for? by kasey_junk on Saturday June 16, 2018 @08:59AM (#17327219)
Whoever made it -p in ssh & -P in scp can fuck right off.
Re:What do Unix command names stand for? by cesarb on Saturday June 16, 2018 @11:26AM (#17327748)
The reason is that scp was designed as a secure replacement for rcp, which was designed as a remote version of cp. The flags -p and -r were inherited from cp by rcp (see https://linux.die.net/man/1/rcp), so for compatibility scp had to use the same flags.

As for ssh, I haven't looked at its history, but I suspect it's older than scp; the intuitive flag for "port" is -p, so that's what ssh used.