sshview
sshview copied to clipboard
can this support password only auth?
Maybe using this method, https://api.libssh.org/master/group__libssh__auth.html#ga6b3b1c2a045286d9476b0252791a07d2
I'll try it, but password only auth is weak.
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
}