Skip to content

userauth_agent problem #19

@tanyewei

Description

@tanyewei

When i try to use userauth_agent method:

Error: Authentification by public key failed: No authorized key found in ssh-agent! (failed closing the agent socket)
<Greenlet at 0xd37910: runcmd('115.238.73.226')> failed with Error

But:
in the securecrt ssh forwarding is ok

Code:

    ret = self.session.userauth_agent('root')
    while ret == self.LIBSSH2_ERROR_EAGAIN:
        _wait_select(self.session, self.sock)
        ret = self.session.userauth_agent('root')

Thank you for your share!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions