CREATEUSER'username'@'localhost' IDENTIFIED BY'password';GRANTALL PRIVILEGES ON*.*TO'username'@'localhost'WITHGRANTOPTION;CREATEUSER'username'@'%' IDENTIFIED BY'password';GRANTALL PRIVILEGES ON*.*TO'username'@'%'WITHGRANTOPTION;
FLUSH PRIVILEGES;
Also may be:
I added this line to my /etc/ssh/sshd_config
file:
KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
and restarted ssh: systemctl restart ssh