Port 22

ssh -o IdentitiesOnly=yes -i /home/remi/.ssh/keys/root root@127.0.0.1


ssh -o HostKeyAlgorithms=+ssh-rsa root@$ip
ssh-keygen -t rsa -b 4096 -f id_rsa
cat id_rsa.pub >> authorized_keys

chmod 600 authorized_keys

Bruteforce

hydra -C /usr/share/seclists/Passwords/Default-Credentials/ssh-betterdefaultpasslist.txt -6 ssh://$ip