Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Mar 2000 19:26:01 -0500
From:      Matt Heckaman <matt@ARPA.MAIL.NET>
To:        FreeBSD-STABLE <stable@FreeBSD.ORG>
Subject:   ssh1 + openssh 1.2.2 + tcsh 6.09.00
Message-ID:  <Pine.BSF.4.21.0003081913330.85087-200000@epsilon.lucida.qc.ca>

next in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

--0-1617323383-952561561=:85087
Content-Type: TEXT/PLAIN; charset=US-ASCII

I've heard reports of using scp from ssh 1 to openssh creating problems,
and I finally now see why - it makes tcsh core! Observe:

[ from machine, alpha ]

admin[alpha]:~> uname -a
FreeBSD alpha.lucida.qc.ca 3.4-STABLE FreeBSD 3.4-STABLE #0: Mon Feb 14
16:36:01 EST 2000 root@alpha.lucida.qc.ca:/usr/src/sys/compile/ALPHA i386

admin[alpha]:~> ssh -V
SSH Version 1.2.27 [i386--freebsd3.3], protocol version 1.5.
Compiled with RSAREF.

admin[alpha]:~> scp test matt@epsilon:.
matt@epsilon's password: 
Command terminated on signal 11.
lost connection

[ on machine, epsilon ]

matt[epsilon]:~> uname -a
FreeBSD epsilon.lucida.qc.ca 3.4-STABLE FreeBSD 3.4-STABLE #0: Mon Feb 14
12:52:20 EST 2000 root@epsilon.lucida.qc.ca:/usr/src/sys/compile/EPSILON
i386

matt[epsilon]:~> ssh -V
SSH Version OpenSSH-1.2.2, protocol version 1.5.
Compiled with SSL.

matt[epsilon]:~> dmesg|grep tcsh
pid 85082 (tcsh), uid 0: exited on signal 11 (core dumped)

- Here I have to switch to root because the corefile was created with
  root:matt ownership, chmod 0600.

root[epsilon]:~matt# gdb `which tcsh` tcsh.core
[...]
This GDB was configured as "i386-unknown-freebsd"...
(no debugging symbols found)...
Core was generated by `tcsh'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libtermcap.so.2...(no debugging symbols
found)... done.
Reading symbols from /usr/lib/libcrypt.so.2...(no debugging symbols
found)... done.`
Reading symbols from /usr/lib/libc.so.3...(no debugging symbols
found)...done.
Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging symbols
found)... done.
#0  0x280d7198 in strrchr () from /usr/lib/libc.so.3
(gdb) bt

#0  0x280d7198 in strrchr () from /usr/lib/libc.so.3
#1  0x4 in ?? ()
#2  0x8049d39 in free ()

I have the vague feeling that this is far beyond my abilities to debug,
I'd appreciate any suggestions, as this is preventing me from using
OpenSSH as a solution which I would really like to do... I have attached
sshd_config from epsilon, which is the machine running OpenSSH.

Matt
--
Matt Heckaman [matt@arpa.mail.net|matt@relic.net] [Please do not send me]
!Powered by FreeBSD/x86! [http://www.freebsd.org] [any SPAM (UCE) e-mail]

--0-1617323383-952561561=:85087
Content-Type: TEXT/PLAIN; charset=US-ASCII; name=sshd_config
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.BSF.4.21.0003081926010.85087@epsilon.lucida.qc.ca>
Content-Description: sshd_config
Content-Disposition: attachment; filename=sshd_config

IyBUaGlzIGlzIHNzaCBzZXJ2ZXIgc3lzdGVtd2lkZSBjb25maWd1cmF0aW9u
IGZpbGUuDQoNClBvcnQgMjINCkxpc3RlbkFkZHJlc3MgMC4wLjAuMA0KSG9z
dEtleSAvdXNyL2xvY2FsL2V0Yy9zc2hfaG9zdF9rZXkNClNlcnZlcktleUJp
dHMgNzY4DQpMb2dpbkdyYWNlVGltZSA2MA0KS2V5UmVnZW5lcmF0aW9uSW50
ZXJ2YWwgMzYwMA0KUGVybWl0Um9vdExvZ2luIG5vDQpDb25uZWN0aW9uc1Bl
clBlcmlvZCA1LzEwDQpJZ25vcmVSaG9zdHMgeWVzDQpTdHJpY3RNb2RlcyB5
ZXMNClgxMUZvcndhcmRpbmcgbm8NClgxMURpc3BsYXlPZmZzZXQgMTANClBy
aW50TW90ZCB5ZXMNCktlZXBBbGl2ZSB5ZXMNClN5c2xvZ0ZhY2lsaXR5IExP
Q0FMMA0KTG9nTGV2ZWwgSU5GTw0KUmhvc3RzQXV0aGVudGljYXRpb24gbm8N
ClJob3N0c1JTQUF1dGhlbnRpY2F0aW9uIG5vDQpSU0FBdXRoZW50aWNhdGlv
biB5ZXMNClBhc3N3b3JkQXV0aGVudGljYXRpb24geWVzDQpQZXJtaXRFbXB0
eVBhc3N3b3JkcyBubw0KQ2hlY2tNYWlsIHllcw0KVXNlTG9naW4geWVzDQo=
--0-1617323383-952561561=:85087--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0003081913330.85087-200000>