Bug 1978323

Summary: [RFE]: Include curve25519sha256 support in Remote Execution
Product: Red Hat Satellite Reporter: Taft Sanders <tasander>
Component: Remote ExecutionAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Peter Ondrejka <pondrejk>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.9.0CC: aruzicka, lstejska, mmccune, pcreech
Target Milestone: 6.11.0Keywords: FutureFeature, Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: tfm-rubygem-smart_proxy_remote_execution_ssh-0.5.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-07-05 14:29:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Taft Sanders 2021-07-01 14:33:20 UTC
Description of problem:
tfm-rubygem-net-ssh-4.2.0-1.el7sat.noarch provides:
diffie_hellman_group14_sha1.rb
diffie_hellman_group1_sha1.rb
diffie_hellman_group_exchange_sha1.rb
diffie_hellman_group_exchange_sha256.rb
ecdh_sha2_nistp256.rb
ecdh_sha2_nistp384.rb
ecdh_sha2_nistp521.rb

Requesting curve25519sha256 be included in supported kex.

Version-Release number of selected component (if applicable):
tfm-rubygem-net-ssh-4.2.0-1

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:
curve25519sha256 is not supported with remote execution through Satellite as the Net::SSH module is used.

Expected results:


Additional info:

Comment 1 Adam Ruzicka 2021-07-07 08:28:27 UTC
This is supported in net-ssh 6.0.0 and newer with some additional dependencies.

Comment 2 Adam Ruzicka 2021-07-13 12:28:51 UTC
Also for transparency:

Upgrading to net-ssh-6.0.0 will be tricky. There were a lot of changes since the release we currently ship and some of the other gems we use (fog and friends) have not caught up yet. We are looking into alternative approaches to dealing with this, such as not using net-ssh and using a libssh wrapper or using system's ssh binary directly. It will most likely be a bumpy ride, but we'll get there eventually

Comment 3 Mike McCune 2021-08-25 14:48:07 UTC
Will align this to 7.0 as we move away from net-ssh. This will not be implemented in the Satellite 6.* release timeline.

The solution to this RFE will be the removal of net-ssh from Satellite and utilizing ssh more natively, going to reword the RFE to reflect this as the subject of the RFE is stating the solution which isn't the direction we are taking.

Comment 5 Peter Ondrejka 2022-01-17 14:42:24 UTC
Verified on Satellite 7.0 snap 5 on RHEL7, remote execution proceeds succesfully with KexAlgorithms=curve25519-sha256 enabled in /etc/ssh/sshd_config

Comment 8 errata-xmlrpc 2022-07-05 14:29:32 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: Satellite 6.11 Release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:5498