Fix weak ssh dh keys

The generated diffie-hellman exponents are weak because of missing byte to bit conversion.