mirror of
https://github.com/nmap/nmap.git
synced 2025-12-25 17:09:02 +00:00
Add passphrase support for privatekeys in ssh-publickey-acceptance
This commit is contained in:
@@ -52,7 +52,7 @@ function userauth_password(session, username, password)
|
||||
-- @param publickeyfile File containing publickey. Not necessary if libssh2 is
|
||||
-- compiled against OpenSSL
|
||||
-- @return true/false, depending on success
|
||||
function userauth_publickey(session, username, privatekeyfile, passphrase publickeyfile)
|
||||
function userauth_publickey(session, username, privatekeyfile, passphrase, publickeyfile)
|
||||
|
||||
--- Read publickey from id_*.pub type key file
|
||||
-- @param publickeyfile File containing publickey
|
||||
|
||||
Reference in New Issue
Block a user