Hello.
We want to use the SSH node to connect to old legacy Linux systems via SSH node.
To make this happen we have to use this guide below
We have to create a .ssh/config
file add the below config
Host rhel5or6-host
KexAlgorithms +diffie-hellman-group14-sha1
MACs +hmac-sha1
HostKeyAlgorithms +ssh-rsa
PubkeyAcceptedKeyTypes +ssh-rsa
PubkeyAcceptedAlgorithms +ssh-rsa
Then create another config file /tmp/openssl.cnf
and add
.include /etc/ssl/openssl.cnf
[openssl_init]
alg_section = evp_properties
[evp_properties]
rh-allow-sha1-signatures = yes
Finally you can connect like this
OPENSSL_CONF=/tmp/openssl.cnf ssh rhel5or6-host
Is there a way to define this steps somehow via .env variables when the docker container starts so that SSH node can connect to these legacy systems?
Now we are getting an error from the node
SSH connection failed: Handshake failed: no matching key exchange algorithm