Inconsistency with the option for defining the destination port

Dennis Winter d.w.79 at web.de
Fri Jun 13 02:42:29 EST 2008


Why is there an inconsistency with the option for the destionation port.

ssh -p <port> ...
scp -P <port> ...
sftp -P <port> ...

For scp it is neccessary to be "-P" ( Quote: " Note that this option is
written with a capital 'P', because −p is already reserved for preserving
the times and modes of the file in rcp(1)." ).
Also sftp uses already "-P", but ssh, still only supports/uses the small
case. For Consistency with sftp and scp wouldn't it be best to add  "-P" as
a synonym.


Sincerly
Dennis


More information about the openssh-unix-dev mailing list