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 [EMAIL PROTECTED]:/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 [EMAIL PROTECTED]:/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 [[EMAIL PROTECTED]|[EMAIL PROTECTED]] [Please do not send me]
!Powered by FreeBSD/x86! [http://www.freebsd.org] [any SPAM (UCE) e-mail]
# This is ssh server systemwide configuration file.

Port 22
ListenAddress 0.0.0.0
HostKey /usr/local/etc/ssh_host_key
ServerKeyBits 768
LoginGraceTime 60
KeyRegenerationInterval 3600
PermitRootLogin no
ConnectionsPerPeriod 5/10
IgnoreRhosts yes
StrictModes yes
X11Forwarding no
X11DisplayOffset 10
PrintMotd yes
KeepAlive yes
SyslogFacility LOCAL0
LogLevel INFO
RhostsAuthentication no
RhostsRSAAuthentication no
RSAAuthentication yes
PasswordAuthentication yes
PermitEmptyPasswords no
CheckMail yes
UseLogin yes

Reply via email to