Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can this support password only auth? #1

Open
cimapp opened this issue Jun 4, 2022 · 2 comments
Open

can this support password only auth? #1

cimapp opened this issue Jun 4, 2022 · 2 comments

Comments

@cimapp
Copy link

cimapp commented Jun 4, 2022

No description provided.

@lithium0003
Copy link
Owner

lithium0003 commented Jun 4, 2022

Maybe using this method,
https://api.libssh.org/master/group__libssh__auth.html#ga6b3b1c2a045286d9476b0252791a07d2

I'll try it, but password only auth is weak.

@cimapp
Copy link
Author

cimapp commented Jun 4, 2022

I tried but getting another decryption error still: #2


var rc = ssh_userauth_password(session, nil, passphrase)
            guard rc == SSH_AUTH_SUCCESS.rawValue else {
                logger("auth error (password) \(rc)")
                ssh_disconnect(session)
                ssh_free(session)
                return
            }
           

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants