Bug#326800: ssh: scp password prompt does not cleanup terminal on Ctrl-C
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:
ssb22@beethoven'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
Reply to: