From owner-freebsd-bugs Sun Apr 15 11: 0:12 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5778F37B443 for ; Sun, 15 Apr 2001 11:00:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f3FI03a46755; Sun, 15 Apr 2001 11:00:03 -0700 (PDT) (envelope-from gnats) Received: from ringworld.nanolink.com (diskworld.nanolink.com [195.24.48.189]) by hub.freebsd.org (Postfix) with SMTP id 0D69037B440 for ; Sun, 15 Apr 2001 10:52:32 -0700 (PDT) (envelope-from roam@orbitel.bg) Received: (qmail 3171 invoked by uid 1000); 15 Apr 2001 17:51:02 -0000 Message-Id: <20010415175102.3170.qmail@ringworld.nanolink.com> Date: 15 Apr 2001 17:51:02 -0000 From: Peter Pentchev Reply-To: Peter Pentchev To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: bin/26602: RELENG_4 ssh/sshd modifies the 'erase' character Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 26602 >Category: bin >Synopsis: RELENG_4 ssh/sshd modifies the 'erase' character >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Apr 15 11:00:03 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Peter Pentchev >Release: FreeBSD 4.3-RC i386 >Organization: Orbitel JSCo. >Environment: FreeBSD ringworld.oblivion.bg 4.3-RC #49: Wed Apr 11 18:39:08 EEST 2001 >Description: When I log in on a virtual console, stty -a shows ^H as the erase character. When I ssh to the same or different RELENG_4 machine, stty -a still shows ^H as the 'erase2' char, but the 'erase' char is ^?. >How-To-Repeat: Script started on Sun Apr 15 20:48:19 2001 [roam@ringworld:p0 ~]$ stty -a | fgrep -w erase eol2 = ; erase = ^H; erase2 = ^H; intr = ^C; kill = ^U; [roam@ringworld:p0 ~]$ ssh -t ringworld 'stty -a | fgrep -w erase' roam@ringworld's password: eol2 = ; erase = ^?; erase2 = ^H; intr = ^C; kill = ^U; Connection to ringworld closed. [roam@ringworld:p0 ~]$ exit exit Script done on Sun Apr 15 20:48:36 2001 Subtly annoying ;) >Fix: No idea.. I tried tracing the ssh client, substituting all calls to tcsetattr() with calls to a new wrapper function, so I can place breakpoints - nothing. It seems the problem is with the server, somewhere along the login procedure.. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message