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.