Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1405220

Summary: Connection to openssh >= 6.7 not possible
Product: Red Hat Enterprise Linux 6 Reporter: Gerald Prock <gerald.prock>
Component: python-paramikoAssignee: Python Maintainers <python-maint>
Status: CLOSED WONTFIX QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.9CC: ben.harper, carlwgeorge, cstratak, hhorak, torsava
Target Milestone: rcKeywords: Rebase
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-30 07:55:51 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 Gerald Prock 2016-12-15 21:47:38 UTC
Description of problem:
The connection from EL6 to a openssh server with version 6.7 or higher is not possible (Also EL7 is effected). A sample for a target server is VMware6 or Debian8.


How reproducible:
The connection could not be established and fails with the following error:
paramiko.SSHException: Incompatible ssh peer (no acceptable kex algorithm)


Steps to Reproduce:
[root@test log]# python
Python 2.6.6 (r266:84292, Aug  9 2016, 06:11:56) 
[GCC 4.4.7 20120313 (Red Hat 4.4.7-17)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import paramiko
>>> ssh = paramiko.SSHClient()
>>> ssh.connect('10.10.123.123',username='root',password='xxxxx')
No handlers could be found for logger "paramiko.transport"
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.6/site-packages/paramiko/client.py", line 295, in connect
    t.start_client()
  File "/usr/lib/python2.6/site-packages/paramiko/transport.py", line 451, in start_client
    raise e
paramiko.SSHException: Incompatible ssh peer (no acceptable kex algorithm)
>>> 


Additional info:
Problem is fixed in paramiko 1.15.1
https://github.com/paramiko/paramiko/issues/423

Comment 2 Gerald Prock 2017-03-22 12:08:52 UTC
We solved the problem with rewriting the scripts to normal SCP.
Not nice but permanent working ...

For me the ticket can be closed with "will not fix".

Comment 3 Honza Horak 2017-06-30 07:55:51 UTC
Closing as per comment #2.