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

150 views
Skip to first unread message

Gavin

unread,
Dec 16, 2015, 8:05:29 AM12/16/15
to Ansible Project, g_gs...@163.com, 9176...@qq.com
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

Brian Coca

unread,
Dec 16, 2015, 8:33:16 AM12/16/15
to Ansible Project, g_gs...@163.com, 9176...@qq.com
you should reconfigure the machine to use ssh v2, v1 has been insecure
for many years.


--
Brian Coca
Reply all
Reply to author
Forward
0 new messages