Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 532108 - dev-python/paramiko-1.13.0 with net-misc/openssh-6.7_p1 - paramiko.transport: SSHException: Incompatible ssh peer (no acceptable kex algorithm)
Summary: dev-python/paramiko-1.13.0 with net-misc/openssh-6.7_p1 - paramiko.transport:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on: 531126
Blocks:
  Show dependency tree
 
Reported: 2014-12-10 04:37 UTC by Eugene Cormier
Modified: 2016-01-11 20:26 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Cormier 2014-12-10 04:37:26 UTC
Using paramiko in python with the latest openssh stable causes:
ERR [20141210-00:10:40.363] thr=1   paramiko.transport: Exception: Incompatible ssh peer (no acceptable kex algorithm)
ERR [20141210-00:10:40.363] thr=1   paramiko.transport: Traceback (most recent call last):
ERR [20141210-00:10:40.363] thr=1   paramiko.transport:   File "/usr/lib64/python2.7/site-packages/paramiko/transport.py", line 1448, in run
ERR [20141210-00:10:40.363] thr=1   paramiko.transport:     self._handler_table[ptype](self, m)
ERR [20141210-00:10:40.363] thr=1   paramiko.transport:   File "/usr/lib64/python2.7/site-packages/paramiko/transport.py", line 1528, in _negotiate_keys
ERR [20141210-00:10:40.364] thr=1   paramiko.transport:     self._parse_kex_init(m)
ERR [20141210-00:10:40.364] thr=1   paramiko.transport:   File "/usr/lib64/python2.7/site-packages/paramiko/transport.py", line 1643, in _parse_kex_init
ERR [20141210-00:10:40.364] thr=1   paramiko.transport:     raise SSHException('Incompatible ssh peer (no acceptable kex algorithm)')
ERR [20141210-00:10:40.364] thr=1   paramiko.transport: SSHException: Incompatible ssh peer (no acceptable kex algorithm)
ERR [20141210-00:10:40.364] thr=1   paramiko.transport: 


Reproducible: Always

Steps to Reproduce:
1. install paramiko/openssh
2. try to make a ssh connection
3.
Actual Results:  
fails to connect: Incompatible ssh peer (no acceptable kex algorithm)

Expected Results:  
it should connect properly

paramiko >1.15 is known to work with openssh-6.7_p1

I fixed this by keywording:
~dev-python/paramiko-1.15.1
~dev-python/ecdsa-0.11
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2014-12-18 11:42:20 UTC
paramiko >1.15 is known to work with openssh-6.7_p1

I fixed this by keywording:
~dev-python/paramiko-1.15.1
~dev-python/ecdsa-0.11

Please expand on this.
1. net-misc/openssh/openssh-6.7_p1-r3.ebuild currently does NOT dep on paramiko at all.  Are you suggesting it be made to do so?
2. net-misc/openssh/openssh-6.7_p1-r3.ebuild currently does 

inherit eutils user flag-o-matic multilib autotools pam systemd versionator

missing any python eclass. Where does paramiko get pulled in???

This bug raises more questions than its current input answers.  It also seems to me that it warrants assignment to <herd>base-system</herd> and >robbat2@gentoo.org

We need a clear indication where python herd is involved here
Comment 2 Eugene Cormier 2014-12-18 15:46:31 UTC
Paramiko doesn't get pulled in at all, I'm using it as an import in my python code to handle ssh connections.... so I emerge python, I emerge paramiko (both stable) and I get a non working setup
Comment 3 Mike Gilbert gentoo-dev 2014-12-18 17:34:22 UTC
(In reply to Ian Delaney from comment #1)

dev-python/paramiko has an unstated optional runtime dependency on net-misc/openssh.

The solution to this bug is to stabilize a newer version of paramiko.

There are several bugs open to stabilize newer paramiko; apparently nobody searches for bugs these days.
Comment 4 Dennis Schridde 2016-01-11 19:06:38 UTC
Current stable is 1.15.1. Does this issue still exist there?