I reviewed the auth.log file on my Ubuntu server to find:
[preauth] Feb 22 17:39:18 code-storage sshd[17271]: Disconnected from 147.135.192.203 port 49408 [preauth] Feb 22 17:40:15 code-storage sshd[17273]: Invalid user ellen from 147.135.192.203 Feb 22 17:40:15 code-storage sshd[17273]: input_userauth_request: invalid user ellen [preauth] Feb 22 17:40:15 code-storage sshd[17273]: Received disconnect from 147.135.192.203 port 50193:11: Normal Shutdown, Thank you for playing [preauth] Feb 22 17:40:15 code-storage sshd[17273]: Disconnected from 147.135.192.203 port 50193 [preauth] Feb 22 17:40:34 code-storage sshd[17275]: Connection closed by 103.237.147.107 port 17583 [preauth] Feb 22 17:41:12 code-storage sshd[17277]: Invalid user emil from 147.135.192.203 Feb 22 17:41:12 code-storage sshd[17277]: input_userauth_request: invalid user emil [preauth] Feb 22 17:41:12 code-storage sshd[17277]: Received disconnect from 147.135.192.203 port 50841:11: Normal Shutdown, Thank you for playing [preauth] Feb 22 17:41:12 code-storage sshd[17277]: Disconnected from 147.135.192.203 port 50841 [preauth] Feb 22 17:42:05 code-storage sshd[17280]: Invalid user enzo from 147.135.192.203 Feb 22 17:42:05 code-storage sshd[17280]: input_userauth_request: invalid user enzo [preauth] Feb 22 17:42:05 code-storage sshd[17280]: Received disconnect from 147.135.192.203 port 51356:11: Normal Shutdown, Thank you for playing [preauth] Feb 22 17:42:05 code-storage sshd[17280]: Disconnected from 147.135.192.203 port 51356 [preauth] Feb 22 17:42:14 code-storage sshd[17282]: Connection closed by 103.237.147.107 port 64695 [preauth] Feb 22 17:43:00 code-storage sshd[17285]: Invalid user felix from 147.135.192.203 Feb 22 17:43:00 code-storage sshd[17285]: input_userauth_request: invalid user felix [preauth] Feb 22 17:43:00 code-storage sshd[17285]: Received disconnect from 147.135.192.203 port 52145:11: Normal Shutdown, Thank you for playing [preauth] Feb 22 17:43:00 code-storage sshd[17285]: Disconnected from 147.135.192.203 port 52145 [preauth] Feb 22 17:43:52 code-storage sshd[17287]: Connection closed by 103.237.147.107 port 55122 [preauth] Feb 22 17:43:56 code-storage sshd[17289]: Invalid user fred from 147.135.192.203 Feb 22 17:43:56 code-storage sshd[17289]: input_userauth_request: invalid user fred [preauth] Feb 22 17:43:56 code-storage sshd[17289]: Received disconnect from 147.135.192.203 port 52664:11: Normal Shutdown, Thank you for playing [preauth]
There is much more than this, but this is from the last few minutes before I copied the log file.
Is this a brute force SSH attack, and if so should I be worried and what are the best mitigation steps and/or solutions other than changing the server IP?