Bug#472688: marked as done (openssh-client: ssh/scp Treatment of -[pP] options is not consistent)
Your message dated Thu, 27 Mar 2008 10:51:02 +0000
with message-id <20080327105102.GU16526@riva.ucam.org>
and subject line Re: Bug#472688: openssh-client: ssh/scp Treatment of -[pP] options is not consistent
has caused the Debian Bug report #472688,
regarding openssh-client: ssh/scp Treatment of -[pP] options is not consistent
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)
--
472688: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=472688
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: openssh-client: ssh/scp Treatment of -[pP] options is not consistent
- From: Jari Aalto <jari.aalto@cante.net>
- Date: Tue, 25 Mar 2008 20:36:36 +0200
- Message-id: <20080325183636.1793.40333.reportbug@ns2.cante.net>
Package: openssh-client
Version: 1:4.7p1-5
Severity: minor
Consider this: man ssh
-p port
Port to connect to on the remote host. This can be specified on
a per-host basis in the configuration file.
man scp
-P port
Specifies the port to connect to on the remote host. 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).
-p Preserves modification times, access times, and modes from the
original file.
SUGGESTION
It's inconstent that the options differ in both programs. Please unify
to use option "-p" for port in both programs.
scp:
-p Port ...
-P preserves modification
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-2-686 (SMP w/1 CPU core)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash
Versions of packages openssh-client depends on:
ii adduser 3.106 add and remove users and groups
ii debconf [debconf-2.0] 1.5.20 Debian configuration management sy
ii dpkg 1.14.16.6 package maintenance system for Deb
ii libc6 2.7-9 GNU C Library: Shared libraries
ii libcomerr2 1.40.8-2 common error description library
ii libedit2 2.9.cvs.20050518-4 BSD editline and history libraries
ii libkrb53 1.6.dfsg.3~beta1-4 MIT Kerberos runtime libraries
ii libncurses5 5.6+20080308-1 Shared libraries for terminal hand
ii libssl0.9.8 0.9.8g-8 SSL shared libraries
ii passwd 1:4.1.0-2 change and administer password and
ii zlib1g 1:1.2.3.3.dfsg-11 compression library - runtime
Versions of packages openssh-client recommends:
ii xauth 1:1.0.3-1 X authentication utility
-- no debconf information
--- End Message ---
--- Begin Message ---
- To: 472688-done@bugs.debian.org
- Subject: Re: Bug#472688: openssh-client: ssh/scp Treatment of -[pP] options is not consistent
- From: Colin Watson <cjwatson@debian.org>
- Date: Thu, 27 Mar 2008 10:51:02 +0000
- Message-id: <20080327105102.GU16526@riva.ucam.org>
- In-reply-to: <20080325183636.1793.40333.reportbug@ns2.cante.net>
- References: <20080325183636.1793.40333.reportbug@ns2.cante.net>
On Tue, Mar 25, 2008 at 08:36:36PM +0200, Jari Aalto wrote:
> Consider this: man ssh
>
> -p port
> Port to connect to on the remote host. This can be specified on
> a per-host basis in the configuration file.
>
> man scp
>
> -P port
> Specifies the port to connect to on the remote host. 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).
>
> -p Preserves modification times, access times, and modes from the
> original file.
>
>
> SUGGESTION
>
> It's inconstent that the options differ in both programs. Please unify
> to use option "-p" for port in both programs.
>
> scp:
>
> -p Port ...
> -P preserves modification
I'm afraid it's not possible to change scp; that option is part of the
protocol (annoying though that is) and is fixed. This is a historical
discomfort that we can't really do anything about now.
--
Colin Watson [cjwatson@debian.org]
--- End Message ---
Reply to: