Dennis Winter
2008-Jun-12 16:42 UTC
Inconsistency with the option for defining the destination port
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 $B!](Bp 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
Darren Tucker
2008-Jun-12 18:28 UTC
Inconsistency with the option for defining the destination port
Dennis Winter wrote:> 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.ssh -P is already used for the (deprecated) privileged port option. If you want consistency, -oport=N works everywhere. -- Darren Tucker (dtucker at zip.com.au) GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69 Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.
Scott Neugroschl
2008-Jun-12 18:44 UTC
Inconsistency with the option for defining the destination port
> -----Original Message----- > From: openssh-unix-dev-bounces+scott_n=xypro.com at mindrot.org > [mailto:openssh-unix-dev-bounces+scott_n=xypro.com at mindrot.org] On > Behalf Of Dennis Winter > Sent: Thursday, June 12, 2008 9:42 AM > To: openssh-unix-dev at mindrot.org > Subject: Inconsistency with the option for defining the destination > port > > 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 $B!](Jp 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.Also "-f" and "-F" for specifying config files.