# ssh node @insectos/ssh-exec 0.3.2

**URL:** https://discourse.nodered.org/t/ssh-node-insectos-ssh-exec-0-3-2/82007
**Category:** General
**Created:** [13 October 2023 14:17 UTC](https://discourse.nodered.org/t/ssh-node-insectos-ssh-exec-0-3-2/82007 "2023-10-13T14:17:59Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Stefan68](https://avatars.discourse-cdn.com/v4/letter/s/41988e/32.png) [@Stefan68](https://discourse.nodered.org/u/Stefan68)
#### Post date: [13 October 2023 14:17 UTC](https://discourse.nodered.org/t/ssh-node-insectos-ssh-exec-0-3-2/82007/1 "2023-10-13T14:17:59Z")

</div>

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:

```auto
    {
        "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"
            ]
        ]
    }
]

```

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [12 December 2023 14:18 UTC](https://discourse.nodered.org/t/ssh-node-insectos-ssh-exec-0-3-2/82007/2 "2023-12-12T14:18:15Z")

</div>

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