I have changed the SSH default port (by updating the Port attribute in the /etc/ssh/sshd_config file). But what I would like to do is still make it appear as if everything is working as expected if someone was to try and connect to SSH over port 22.
Currently, after changing the SSH port and attempting to login over port 22, SSH returns:
ssh: connect to host server_ip port 22: Connection refused
Is there a way to return the normal output "enter password", but configure SSH to never accept logins from port 22?
My idea is, if someone is going to try and brute force my server, first port they will try is 22. But if I could spoof things and make it appear that SSH is working on port 22, they would be wasting their time and would never get access.
Tried searching online for this but it's bringing back unwanted results.