Skip to content

Paramiko DSSKey removed — ssh_auth_keys module crashes #893

@MansourAbouhayat

Description

@MansourAbouhayat

There is a bug in RouterSploit.

When running the ssh_auth_keys module (or Autopwn that uses it), the tool crashes because RouterSploit calls:

paramiko.DSSKey.from_private_key()

But Paramiko removed DSSKey in recent versions (3.x+).
So the module throws:

AttributeError: module 'paramiko' has no attribute 'DSSKey'

The code needs to be updated to support current Paramiko versions (RSA, ECDSA, Ed25519).

Please fix this in routersploit/core/ssh/ssh_client.py.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions