ssh node @insectos/ssh-exec 0.3.2

Hello,
I would like to send a command to a Unifi AP via ssh, it works perfectly with Putty. Now in Nodered I use this node "@insectos/ssh-exec 0.3.2". He builds a connection with me and can also see this in his observation. But what am I doing wrong to send a command? Actually, I should get a response from Unifi again if I send, for example: "info".
Even when I try it with a Raspberry I get the same result, login OK but no command arrived.
Here is my flow:

    {
        "id": "de36f739aca2fba9",
        "type": "ssh-exec",
        "z": "65e7df19.e957d",
        "sshconfig": "-manual-",
        "name": "UniFi_WZ",
        "host": "192.168.0.40",
        "port": 22,
        "username": "admin",
        "credentials": {
            "pass": "myPW"
        },
        "x": 500,
        "y": 1000,
        "wires": [
            [
                "8e51cc85ff5052fb"
            ]
        ]
    },
    {
        "id": "8e51cc85ff5052fb",
        "type": "debug",
        "z": "65e7df19.e957d",
        "name": "debug 61",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 720,
        "y": 1000,
        "wires": []
    },
    {
        "id": "8e378bce4c2831ff",
        "type": "inject",
        "z": "65e7df19.e957d",
        "Surname": "",
        "props": [
            {
                "p": "payload"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "'info'",
        "payloadType": "str",
        "x": 250,
        "y": 1000,
        "wires": [
            [
                "de36f739aca2fba9"
            ]
        ]
    }
]

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.