Debian Bug report logs - #289401
/usr/bin/scp: scp documentation: The -- flag is not documented

version graph

Package: openssh-client; Maintainer for openssh-client is Debian OpenSSH Maintainers <debian-ssh@lists.debian.org>; Source for openssh-client is src:openssh (PTS, buildd, popcon).

Reported by: Greg Kochanski <gpk@kochanski.org>

Date: Sat, 8 Jan 2005 22:48:12 UTC

Severity: minor

Tags: upstream, wontfix

Found in version 1:3.8.1p1-8.sarge.4

Forwarded to http://bugzilla.mindrot.org/show_bug.cgi?id=970

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Matthew Vernon <matthew@debian.org>:
Bug#289401; Package ssh. (full text, mbox, link).


Acknowledgement sent to Greg Kochanski <gpk@kochanski.org>:
New Bug report received and forwarded. Copy sent to Matthew Vernon <matthew@debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Greg Kochanski <gpk@kochanski.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: /usr/bin/scp: scp documentation: The -- flag is not documented
Date: Sat, 08 Jan 2005 22:43:32 +0000
Package: ssh
Version: 1:3.8.1p1-8.sarge.4
Severity: minor
File: /usr/bin/scp



The -- flag actually works as one might expect, but it is
not documented either in the man page or in the 'Usage'
output of scp.


This is mildly important, because if anyone were to write a
shell script that executed

scp * some:target

and if they had a file named '-P' or '-o' it might be possible
to cause some sort of security breach.

However,

scp -- * some:target

cleanly  removes the possibility of trouble from filenames beginning
with hyphens.


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-686
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  dpkg                        1.10.25      Package maintenance system for Deb
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libpam-modules              0.76-22      Pluggable Authentication Modules f
ii  libpam-runtime              0.76-22      Runtime support for the PAM librar
ii  libpam0g                    0.76-22      Pluggable Authentication Modules l
ii  libssl0.9.7                 0.9.7e-2     SSL shared libraries
ii  libwrap0                    7.6.dbs-6    Wietse Venema's TCP wrappers libra
ii  zlib1g                      1:1.2.2-3    compression library - runtime

-- debconf information:
  ssh/insecure_rshd:
  ssh/privsep_ask: true
* ssh/user_environment_tell:
* ssh/forward_warning:
  ssh/insecure_telnetd:
  ssh/new_config: true
* ssh/use_old_init_script: true
* ssh/SUID_client: true
  ssh/disable_cr_auth: false
* ssh/privsep_tell:
  ssh/ssh2_keys_merged:
* ssh/protocol2_only: true
  ssh/encrypted_host_key_but_no_keygen:
* ssh/run_sshd: true



Information forwarded to debian-bugs-dist@lists.debian.org, Matthew Vernon <matthew@debian.org>:
Bug#289401; Package ssh. (full text, mbox, link).


Acknowledgement sent to Colin Watson <cjwatson@debian.org>:
Extra info received and forwarded to list. Copy sent to Matthew Vernon <matthew@debian.org>. (full text, mbox, link).


Message #10 received at 289401@bugs.debian.org (full text, mbox, reply):

From: Colin Watson <cjwatson@debian.org>
To: Greg Kochanski <gpk@kochanski.org>, 289401@bugs.debian.org, 289403@bugs.debian.org
Cc: control@bugs.debian.org
Subject: Re: Bug#289401: /usr/bin/scp: scp documentation: The -- flag is not documented
Date: Tue, 11 Jan 2005 00:04:17 +0000
forwarded 289401 http://bugzilla.mindrot.org/show_bug.cgi?id=970
forwarded 289403 http://bugzilla.mindrot.org/show_bug.cgi?id=970
thanks

On Sat, Jan 08, 2005 at 10:43:32PM +0000, Greg Kochanski wrote:
> The -- flag actually works as one might expect, but it is
> not documented either in the man page or in the 'Usage'
> output of scp.

I've forwarded your suggestion from both this bug and #289403 (they're
really the same, I think, even though the documentation would need to be
written in two places) to the OpenSSH portable team. Thanks!

-- 
Colin Watson                                       [cjwatson@debian.org]



Noted your statement that Bug has been forwarded to http://bugzilla.mindrot.org/show_bug.cgi?id=970. Request was from Colin Watson <cjwatson@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Tags added: upstream, wontfix Request was from bts-link-upstream@lists.alioth.debian.org to control@bugs.debian.org. (full text, mbox, link).


Bug reassigned from package 'ssh' to 'openssh-client'. Request was from Colin Watson <cjwatson@debian.org> to control@bugs.debian.org. (Mon, 04 Jan 2010 01:03:18 GMT) (full text, mbox, link).


Bug No longer marked as found in versions 1:3.8.1p1-8.sarge.4. Request was from Colin Watson <cjwatson@debian.org> to control@bugs.debian.org. (Mon, 04 Jan 2010 01:03:18 GMT) (full text, mbox, link).


Bug Marked as found in versions 1:3.8.1p1-8.sarge.4. Request was from Colin Watson <cjwatson@debian.org> to control@bugs.debian.org. (Mon, 04 Jan 2010 02:18:05 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Mar 25 18:41:22 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.