sshview icon indicating copy to clipboard operation
sshview copied to clipboard

can this support password only auth?

Open cimapp opened this issue 3 years ago • 2 comments

cimapp avatar Jun 04 '22 14:06 cimapp

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

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

lithium0003 avatar Jun 04 '22 15:06 lithium0003

I tried but getting another decryption error still: https://github.com/lithium0003/sshview/issues/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
            }
           

cimapp avatar Jun 04 '22 20:06 cimapp