train
train copied to clipboard
Openssl 3 error with net-ssh < 7
Version:
train-core v3.2.20
Environment:
Debian 11.4 and inspec 4.56.20
Scenario:
Trying to connect with ssh to a server with openssl 3 installed.
Steps to Reproduce:
inspec shell -t ssh://TARGET
Expected Result:
Connected with inspec shell
Actual Result:
net-ssh returns the following error:
`generate_key!': pkeys are immutable on OpenSSL 3.0
Solution:
Upgrade to net-ssh > 7 which introduces support for openssl 3.
https://github.com/net-ssh/net-ssh/issues/843