paramiko.util.load_host_keys with big file known_hosts
Bug #419216 reported by
Christophe GUILLOUX
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
paramiko |
New
|
Undecided
|
Unassigned |
Bug Description
(paramiko 1.7.5)
The function paramiko.
(And i don't know how if it works with hashed host.) CPU load is 99%
One entry for example :
|1|ECaT+
To post a comment you must log in.
>>> print(time.time()); x = paramiko. HostKeys( "/Users/ robey/. ssh/known_ hosts") ; print(time.time())
1257132086.18
1257132086.32
$ wc -l ~/.ssh/known_hosts robey/. ssh/known_ hosts
513 /Users/
maybe something else is going on? python seems to load that file relatively quickly.