sshd does not exit after scp (hpux 11.00 / ssh 2.1.1p1)

Kevin Steves stevesk at sweden.hp.com
Mon Jul 3 22:46:19 EST 2000


On Mon, 19 Jun 2000 kengelha at advance-bank.de wrote:
: Damien Miller wrote:
: > Can you turn on debugging at the server end (LogLevel DEBUG) and send
: > along the output?
: 
: Yes, here it comes:

Has any progress been made on this issue?  I've included an older
message that has a stack trace, which if I recall was still the same in
2.1.1p1.  I can provide a newer trace or additional information if
needed.

Date: Tue, 23 May 2000 15:11:25 +0200 (CEST)
From: Kevin Steves <stevesk at sweden.hp.com>
To: openssh-unix-dev at mindrot.org
Cc: stevesk at sweden.hp.com
Subject: HP-UX 11.0 scp -t hangs and PAM

openssh-2.1.0p2 on HP-UX 11.0 trusted system.

One problem is that scp does not exit after a file transfer:

 stevesk 14074 14073  0 13:21:46 ?         0:00 scp -t .

Attaching to the running process with gdb yields:

(gdb) bt
#0  0xc01ed230 in _read_sys () from /usr/lib/libc.2
#1  0xc01f85e4 in read () from /usr/lib/libc.2
#2  0x8228 in atomicio (f=0x400025c2 <SD$ecb_enc+122>, fd=0, _s=0x7bff03e0 "C0644 59 resolv.conf", n=1)
    at atomicio.c:46
#3  0x620c in sink (argc=1, argv=0x7bff0164) at scp.c:695
#4  0x4bb8 in main (argc=1, argv=0x7bff0164) at scp.c:328

So we're blocked in read() on fd 0 for some reason.  The file transfer
does complete.

Another issue is we get this message from sshd when logging out:

May 23 13:22:16 robinson sshd[14075]: Cannot delete credentials: Permission denied

So pam_setcred(PAM_DELETE_CRED) isn't working.






More information about the openssh-unix-dev mailing list