Debugging an "unreachable" error when connecting to openwrt

Hi all,

I want to manage a machine running openwrt with ansible. First I got
stuck just connecting to the machine, and I do not find the error:

ansible -m setup 192.168.11.1
192.168.11.1 | UNREACHABLE! => {
    "changed": false,
    "msg": "SSH Error: data could not be sent to the remote host. Make sure this host can be reached over ssh",
    "unreachable": true
}

I can ssh into the machine without errors with my ssh key loaded into
ssh-agent.

I tried to ansible to the IP, to the FQDN and to the short hostname.
No change, but each works with ssh (.ssh/config contains entries for
IP, hostname and FQDN).

I added ansible_port and ansible_user to the host_vars file for this
machine.

I installed python on the machine.

I tried paramiko but got no further than a sftp error.

I deleted all lines for this host from my ~/.ssh/config file, but
still unreachable.

Using ansible -vvvv shows lots of output, shows that remote port and
user are configured but otherwise no

Hi,

I want to manage a machine running openwrt with ansible. First I got
stuck just connecting to the machine, and I do not find the error:

[...]

Funny enough, using the raw module to call date kinda works:

This seems to be related to dropbear. When using openssh-server (with
openssh-sftp-server installed) I can connect and get a warning about a
missing python module.

Installing python rather than python-light seems to solve these issues...

Johannes