scp client hangs after authentication with dropbear server
Matt Johnston
matt at ucc.asn.au
Thu Feb 8 10:31:21 WST 2007
On Wed, Feb 07, 2007 at 11:58:55AM -0600, Steven Hein wrote:
> Steven Hein wrote:
>
> >I have the dropbear server running on a PPC-based embedded board.
> >I can ssh into it just fine. But when I try to scp to or from
> >this dropbear server (using an openssh scp client, that's the only
> >one I've tried), it hangs after successful authentication with
> >a password.
I don't recall seeing this problem before - as you noted
previous issues with scp have been it hanging after
finishing. From the strace, can you see what the server scp
process is doing? If you could send me the full output of
"strace -f -o trace1.out ./dropbear -F -E ...etc" I'll see
what I can make of it. If you compile Dropbear with
DEBUG_TRACE set in debug.h you can use the -v flag to print
some more verbose output of what's happening - note that
inetd mode won't work when you're using that.
The output of scp -vvv might also give some clues. One other
thought is that it might be running out of entropy in the
reseedrandom() call in execchild() - does using /dev/urandom
for DROPBEAR_RANDOM_DEV in options.h help (I doubt it)?
Cheers,
Matt
More information about the Dropbear
mailing list