Unable to ssh to old versions of sshd

Unable to negotiate with ipadress port 22  no matching key exchange method found. Their offer: diffie-hellman-group1-sha1

Use this at our own risk, this is not secure…

ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 username@ip(or name)