How to fix diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1

I was trying to connect to some old Centos5 server via SSH for which I always have to restart the SSH services from WHM before taking access to the same. This time I got a different...