Skip site navigation (1)Skip section navigation (2)
Date:      15 Apr 2001 17:51:02 -0000
From:      Peter Pentchev <roam@orbitel.bg>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/26602: RELENG_4 ssh/sshd modifies the 'erase' character
Message-ID:  <20010415175102.3170.qmail@ringworld.nanolink.com>

next in thread | raw e-mail | index | archive | help

>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 = <undef>; erase = ^H; erase2 = ^H; intr = ^C; kill = ^U;
[roam@ringworld:p0 ~]$ ssh -t ringworld 'stty -a | fgrep -w erase'
roam@ringworld's password: 
	eol2 = <undef>; 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010415175102.3170.qmail>