Your message dated Mon, 5 Sep 2005 22:56:29 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Bug#326800: ssh: scp password prompt does not cleanup terminal 
on Ctrl-C
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; 5 Sep 2005 19:48:17 +0000
>From [EMAIL PROTECTED] Mon Sep 05 12:48:17 2005
Return-path: <[EMAIL PROTECTED]>
Received: from ppsw-0.csi.cam.ac.uk [131.111.8.130] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1ECMwy-0002iG-00; Mon, 05 Sep 2005 12:48:17 -0700
X-Cam-SpamDetails: Not scanned
X-Cam-AntiVirus: No virus found
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from elgar.cl.cam.ac.uk ([128.232.9.127]:33365)
        by ppsw-0.csi.cam.ac.uk (ppsw.cam.ac.uk [131.111.8.130]:25)
        with esmtp id 1ECMww-0002bf-0d (Exim 4.51) for [EMAIL PROTECTED]
        (return-path <[EMAIL PROTECTED]>); Mon, 05 Sep 2005 20:48:14 +0100
Received: by elgar.cl.cam.ac.uk (Postfix, from userid 1000)
        id B5F916D656; Mon,  5 Sep 2005 19:02:26 +0100 (BST)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Silas S. Brown" <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: ssh: scp password prompt does not cleanup terminal on Ctrl-C
X-Mailer: reportbug 3.8
Date: Mon, 05 Sep 2005 19:02:26 +0100
X-Debbugs-Cc: [EMAIL PROTECTED]
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
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-Level: 
X-Spam-Status: No, hits=-9.8 required=4.0 tests=BAYES_00,FROM_ENDS_IN_NUMS,
        HAS_PACKAGE,X_DEBBUGS_CC autolearn=ham 
        version=2.60-bugs.debian.org_2005_01_02

Package: ssh
Version: 1:3.8.1p1-8.sarge.4
Severity: normal


If you press Control-C at scp's "Password" prompt, you get
dropped back to the shell prompt but subsequent commands are
not echoed as you type them (only the prompt and the output
is visible).  For example, here I pressed Control-C at the
prompt, then pressed Enter a few times and then typed "ls":

ssb22:~$ scp /tmp/resume2.ps beethoven:
[EMAIL PROTECTED]'s password: 
ssb22:~$ 
ssb22:~$ ssb22:~$ ssb22:~$ #%=2Ascratch=2A#       greetings.lyx     
#newfile3.lyx#   resume.tex.m4~
5jul                   handout.pdf       ...

This bug only happens with scp, not with ssh.

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.23
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1) (ignored: LC_ALL set to 
en_GB)

Versions of packages ssh depends on:
ii  adduser                3.63              Add and remove users and groups
ii  debconf                1.4.30.13         Debian configuration management sy
ii  dpkg                   1.10.28           Package maintenance system for Deb
ii  libc6                  2.3.2.ds1-22      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-3          SSL shared libraries
ii  libwrap0               7.6.dbs-8         Wietse Venema's TCP wrappers libra
ii  zlib1g                 1:1.2.2-4.sarge.2 compression library - runtime

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

---------------------------------------
Received: (at 326800-done) by bugs.debian.org; 5 Sep 2005 21:56:33 +0000
>From [EMAIL PROTECTED] Mon Sep 05 14:56:33 2005
Return-path: <[EMAIL PROTECTED]>
Received: from mail.metronet.co.uk [213.162.97.75] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1ECOx7-0007vH-00; Mon, 05 Sep 2005 14:56:33 -0700
Received: from riva.pelham.vpn.ucam.org 
(83-216-156-196.colinw664.adsl.metronet.co.uk [83.216.156.196])
        by smtp.metronet.co.uk (MetroNet Mail) with ESMTP id 974FB415C05
        for <[EMAIL PROTECTED]>; Mon,  5 Sep 2005 22:56:12 +0100 (BST)
Received: from cjwatson by riva.pelham.vpn.ucam.org with local (Exim 3.36 #1 
(Debian))
        for [EMAIL PROTECTED]
        id 1ECOx3-0006sa-00; Mon, 05 Sep 2005 22:56:29 +0100
Date: Mon, 5 Sep 2005 22:56:29 +0100
From: Colin Watson <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: Bug#326800: ssh: scp password prompt does not cleanup terminal on 
Ctrl-C
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[EMAIL PROTECTED]>
User-Agent: Mutt/1.5.9i
Delivered-To: [EMAIL PROTECTED]
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-Level: 
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

Source: ssh
Source-Version: 1:4.0p1-1

On Mon, Sep 05, 2005 at 07:02:26PM +0100, Silas S. Brown wrote:
> Package: ssh
> Version: 1:3.8.1p1-8.sarge.4
> Severity: normal
> 
> If you press Control-C at scp's "Password" prompt, you get
> dropped back to the shell prompt but subsequent commands are
> not echoed as you type them (only the prompt and the output
> is visible).  For example, here I pressed Control-C at the
> prompt, then pressed Enter a few times and then typed "ls":
> 
> ssb22:~$ scp /tmp/resume2.ps beethoven:
> [EMAIL PROTECTED]'s password: 
> ssb22:~$ 
> ssb22:~$ ssb22:~$ ssb22:~$ #%=2Ascratch=2A#       greetings.lyx     
> #newfile3.lyx#   resume.tex.m4~
> 5jul                   handout.pdf       ...
> 
> This bug only happens with scp, not with ssh.

This was fixed in OpenSSH 4.0p1.

openssh (1:4.0p1-1) experimental; urgency=low

  * New upstream release.
    [...]
    - Have scp and sftp wait for the spawned ssh to exit before they exit
      themselves, allowing ssh to restore terminal modes (closes: #257130).
  [...]

 -- Colin Watson <[EMAIL PROTECTED]>  Thu, 26 May 2005 11:23:18 +0100

It probably won't get fixed in stable, but since I'm including the
version in this -done mail, the BTS will know that it's still open
there.

Cheers,

-- 
Colin Watson                                       [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to