ansible Failed to connect to the host via ssh: Received message too long

263 views
Skip to first unread message

רגב בתחן

unread,
Jun 19, 2017, 11:35:29 AM6/19/17
to Ansible Project

when i try to test ping to my remote pbx servers i get this error :

Failed to connect to the host via ssh: Received message too long

i know this servers has by defult long promote- cant ansible ignore it ? it looks somthing like this : _____ ____ ______ __

_| __ | _ \| __ ) / / | |_ | '/ _ / _ \ |_) | _ \ / | _|| | | / __/ __/| |) / \ || |_| _|___|_|
|____/_/_\

NOTICE! You have 15 notifications! Please log into the UI to see them!

Current Network Configuration

and more and more ..

ansible command :

192.168.11.100 | UNREACHABLE! => { "changed": false, "msg": "Failed to connect to the host via ssh: Received message too long 543121247\r\n", "unreachable": true }

Brian Coca

unread,
Jun 19, 2017, 7:30:09 PM6/19/17
to Ansible Project
Try changing the connection to paramiko.  

If that does not fix it, this is normally an error from the ssh sftp client, you could try switching to scp.


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