[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#296154: marked as done (/usr/bin/scp: [upstream?] Consistent flags between scp and ssh)



Your message dated Sun, 20 Feb 2005 22:43:25 +0000
with message-id <20050220224325.GA21125@riva.ucam.org>
and subject line Bug#296154: /usr/bin/scp: [upstream?] Consistent flags between scp and ssh
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 20 Feb 2005 18:31:40 +0000
>From debian-bugs@rolf.leggewie.biz Sun Feb 20 10:31:40 2005
Return-path: <debian-bugs@rolf.leggewie.biz>
Received: from master.debian.org [146.82.138.7] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1D2vro-0002i7-00; Sun, 20 Feb 2005 10:31:40 -0800
Received: from g15b7.g.pppool.de ([192.168.1.1]) [80.185.21.183] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1D2vrm-0001ky-00; Sun, 20 Feb 2005 12:31:39 -0600
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Rolf Leggewie <debian-bugs@rolf.leggewie.biz>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: /usr/bin/scp: [upstream?] Consistent flags between scp and ssh
X-Mailer: reportbug 3.2
Date: Sun, 20 Feb 2005 19:32:03 +0100
X-Debbugs-Cc: debian-bugs@rolf.leggewie.biz
Message-Id: <[🔎] E1D2vrm-0001ky-00@master.debian.org>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-9.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
	OUR_MTA_MSGID,X_DEBBUGS_CC autolearn=ham 
	version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: ssh
Version: 1:3.4p1-1.woody.3
Severity: wishlist
File: /usr/bin/scp

Mathew,

thank you for packaging ssh related stuff.  It is very important for
security.  I regularly use ssh as well as scp.  It would be great if the
two packages were more flag-compatible.  For example, when specifiying
the port on the command line ssh takes -p and scp -P. -p for scp is
preservation mode.  May I suggest to switch the meaning of -p and -P for
scp?  I am not sure if this can be done because of path-depency problems
(ppl rely on the old behaviour).  I also assume this is something that
should be fixed upstream?  Thank you for considering my little
suggestion.

Best regards

Rolf Leggewie


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i586)
Kernel: Linux 2.4.26.pfaffe041120
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages ssh depends on:
ii  adduser                 3.59             Add and remove users and groups
ii  debconf                 1.4.30.11        Debian configuration management sy
ii  libc6                   2.3.2.ds1-20     GNU C Library: Shared libraries an
ii  libpam-modules          0.72-35          Pluggable Authentication Modules f
ii  libpam0g                0.76-22          Pluggable Authentication Modules l
ii  libssl0.9.6             0.9.6c-2.woody.7 SSL shared libraries
ii  libwrap0                7.6-9            Wietse Venema's TCP wrappers libra
ii  zlib1g                  1:1.2.2-3        compression library - runtime

-- debconf information excluded

---------------------------------------
Received: (at 296154-done) by bugs.debian.org; 20 Feb 2005 22:43:52 +0000
>From cjwatson@flatline.org.uk Sun Feb 20 14:43:52 2005
Return-path: <cjwatson@flatline.org.uk>
Received: from chiark.greenend.org.uk [193.201.200.170] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1D2zns-0004Ic-00; Sun, 20 Feb 2005 14:43:52 -0800
Received: from [192.168.124.112] (helo=riva.lab.dotat.at)
	by chiark.greenend.org.uk (Debian Exim 3.35 #1) with esmtp
	(return-path cjwatson@flatline.org.uk)
	id 1D2znp-0008H4-00
	for 296154-done@bugs.debian.org; Sun, 20 Feb 2005 22:43:50 +0000
Received: from cjwatson by riva.lab.dotat.at with local (Exim 3.35 #1 (Debian))
	for 296154-done@bugs.debian.org
	id 1D2znR-0005aX-00; Sun, 20 Feb 2005 22:43:25 +0000
Date: Sun, 20 Feb 2005 22:43:25 +0000
From: Colin Watson <cjwatson@debian.org>
To: 296154-done@bugs.debian.org
Subject: Re: Bug#296154: /usr/bin/scp: [upstream?] Consistent flags between scp and ssh
Message-ID: <20050220224325.GA21125@riva.ucam.org>
References: <[🔎] E1D2vrm-0001ky-00@master.debian.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[🔎] E1D2vrm-0001ky-00@master.debian.org>
User-Agent: Mutt/1.3.28i
Delivered-To: 296154-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

On Sun, Feb 20, 2005 at 07:32:03PM +0100, Rolf Leggewie wrote:
> Package: ssh
> Version: 1:3.4p1-1.woody.3
> Severity: wishlist
> File: /usr/bin/scp
> 
> Mathew,
> 
> thank you for packaging ssh related stuff.  It is very important for
> security.  I regularly use ssh as well as scp.  It would be great if the
> two packages were more flag-compatible.  For example, when specifiying
> the port on the command line ssh takes -p and scp -P. -p for scp is
> preservation mode.  May I suggest to switch the meaning of -p and -P for
> scp?  I am not sure if this can be done because of path-depency problems
> (ppl rely on the old behaviour).  I also assume this is something that
> should be fixed upstream?  Thank you for considering my little
> suggestion.

scp(1) says:

     -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).

I'm afraid that it isn't possible to change this, because the way scp
works means that when you run 'scp -p' on a client it makes an ssh
connection to a server and runs 'scp -p' (with some other options) on
the server. If the command-line options were changed, it would break
compatibility with existing scp clients.

sftp is more sensibly designed and does not suffer from command-line
option compatibility problems like this.

See http://www.openssh.org/faq.html#2.10 for upstream's response to a
similar question. Although that's about adding new features or options,
it's clear that changing existing features or options is even more
likely to break compatibility.

Cheers,

-- 
Colin Watson                                       [cjwatson@debian.org]



Reply to: