Please refer to "Generating Key" of SSH connection for further detail.
When the DSA key bits is not 1024, the key is invalid. The key can not be used.
If the key bits is over 1024, the security level can not be stronger.
Please use the RSA and ECDSA key algorithm if your security level is higher.