ssh v1 protocol: Protocol major versions differ: 2 vs. 1

When I tried to connect a machine, it appeared the following error:
test | FAILED => failed to transfer file to /root/.ansible/tmp/ansible-tmp-1450244649.99-88355087476052/command:

Connecting to ...
Protocol major versions differ: 2 vs. 1
Couldn’t read packet: Connection reset by peer

It seems to be caused because of that the machine is using ssh v1 protocol, but I don’t know how to connect the machine through ssh v1 protocol.

What should I do? Any help would be greatly appreciated.

Thanks,
-Gavin

you should reconfigure the machine to use ssh v2, v1 has been insecure
for many years.