On 09/28/2011 01:31 PM, Gary wrote: > Matt Johnston <matt <at> ucc.asn.au> writes: > > On Mon, Jun 13, 2005 at 10:21:53AM +0100, Simon Rowe wrote: >> We're seeing a long delay when logging in using dropbear on to our embedded >> system (60MHz PowerPC). Looking at the debug from the client end it appears >> that the issue is the Diffie-Hellman key negotiation within dropbear >> >> debug1: expecting SSH2_MSG_KEXDH_REPLY >> >> [delay of about 8 seconds] >> >> Is there anything we can change to reduce this delay? > > > Same problem here. My bet is that it's blocking on the random > device. For me ssh'ng to a busy machine is fast, ssh'ng to an > idle machine almost always has a BIG delay.
Switch from /dev/random to /dev/urandom perhaps? Rob
