NEWS
Node-Red Adapter SSH Key generation not possible
-
|Systemdata|
|Hardwaresystem: Raspberry Pi 4
|Arbeitsspeicher:| 2GB |
|Festplattenart:| SD-Karte
|Betriebssystem:| Raspbian
|Node-Version:| 3.0.2
|Nodejs-Version:| 10.x.x |
|NPM-Version:| 6.x.x |Hi,
I would like to connect my flow with github.
To connect the flow with a github repo I need to generate a SSH key.
The problem is now, that it's not showing any key after pressing "Schlüssel generieren".In the logs I can't find any errors.
What is the root cause? -
@huibuh420 sagte in Node-Red Adapter SSH Key generation not possible:
In the logs I can't find any errors.
What is the root cause?You have not installed the package "openssh-client".
-
@marc-berg I already did. It seems like to me, that the command is inside iobroker not accessible. Maybe this is an issue with the docker build?
With the exec node I tried to execute ssh-keygen inside node-red.
=> This seems like to me, that the command is not visible inside the docker container. -
@huibuh420 you have to install the openssh-cliient package in directory
/opt/iobroker/iobroker-data/node.red
-
@huibuh420 sagte in Node-Red Adapter SSH Key generation not possible:
This seems like to me, that the command is not visible inside the docker container.
A client properly installed via the package manager is located at /usr/bin and is therefore accessible via the path environment variable. I installed the openssh-client package via the Docker environment variable "PACKAGES".