Login
$ ssh username@IP
# Login with SSH to specific port
$ ssh username@IP -p 443
Login with key
$ chmod 600 id_rsa/id_ecdsa
$ ssh username@IP -i id_rsa/id_ecdsa
Crack id_rsa or id_ecdsa password
$ ssh2john id_ecdsa/id_rsa > hash
$ john --wordlist=/usr/share/wordlists/rockyou.txt hash
Bruteforce
# Bruteforce SSH with list of passwords
$ hydra -l username -P passwords.txt <IP> ssh
# Bruteforce SSH with list of usernames
$ hydra -L usernames.txt -P passwords.txt <IP> ssh