-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Description
Describe the bug
Running the ssh-publickey-acceptance NSE script gives false negative when testing my own public key against my own server.
To Reproduce
nmap -p 22 --script ssh-publickey-acceptance --script-args "ssh.usernames={'root'}, ssh.publickeys={'./id_rsa.pub'}" myserver.comExpected behavior
Script should tell me the public key is accepted
Version info (please complete the following information):
- OS:
Linux laptop 6.10.4-arch2-1 #1 SMP PREEMPT_DYNAMIC Sun, 11 Aug 2024 16:19:06 +0000 x86_64 GNU/Linux
- Output of
nmap --version:
Nmap version 7.95 ( https://nmap.org )
Platform: x86_64-pc-linux-gnu
Compiled with: liblua-5.4.6 openssl-3.3.1 libssh2-1.11.0 libz-1.3.1 libpcre2-10.44 libpcap-1.10.4 nmap-libdnet-1.12 ipv6
Compiled without:
Available nsock engines: epoll poll select