======================
Delete/Backup existing corrupted dsa private and pub key locate in /nsconfig/ssh/
> rm /nsoconfig/ssh/ssh_host_dsa_key
> rm /nsoconfig/ssh/ssh_host_dsa_key.pub
Generate a new dsa private and pub key.
> ssh-keygen -t dsa
Give same location and name as previous key :: /nsconfig/ssh/ssh_host_dsa_key
> reboot or reload config file with command: /usr/sbin/sshd -f /etc/sshd_config
Another solution is disable dsa ssh key as is not really required since rsa key is present.
=================
Edit file /etc/sshd_config and comment out [#] dsa key line
root@adc# cat /etc/sshd_config
Port 22
#ListenAddress 0.0.0.0
#ListenAddress :: Protocol 2
HostKey /nsconfig/ssh/ssh_host_rsa_key
#HostKey /nsconfig/ssh/ssh_host_dsa_key Safe file
Copy sshd_config to /nsconfig/
> cp /etc/sshd_config /nsconfig/
Reload sshd with command:
> /usr/sbin/sshd -f /nsconfig/sshd_config