Pokaż algorytmy szyfrowania, kompresji itp., oferowanych przez serwer SSH:

nmap --script ssh2-enum-algos -sV 192.168.0.1
Starting Nmap 7.94 ( https://nmap.org ) at 2023-12-18 13:38 CET
Nmap scan report for 192.168.0.1
Host is up (0.0046s latency).
Not shown: 997 closed tcp ports (conn-refused)
PORT     STATE SERVICE        VERSION
22/tcp   open  ssh            MikroTik RouterOS sshd (protocol 2.0)
| ssh2-enum-algos: 
|   kex_algorithms: (1)
|       diffie-hellman-group-exchange-sha256
|   server_host_key_algorithms: (2)
|       ssh-rsa
|       rsa-sha2-256
|   encryption_algorithms: (3)
|       aes128-ctr
|       aes192-ctr
|       aes256-ctr
|   mac_algorithms: (1)
|       hmac-sha2-256
|   compression_algorithms: (1)
|_      none
80/tcp   open  http           MikroTik router config httpd
2000/tcp open  bandwidth-test MikroTik bandwidth-test server
Service Info: OSs: Linux, RouterOS; Device: router; CPE: cpe:/o:mikrotik:routeros

Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 6.52 seconds