Ha! I think I solved this person's problem. They said: "Yes you were right I forgot to set the port in my env file and it was using port 0. Thank you so much you're actually gods gift to humanity holy shit lol"
Hello Everyone, Can anyone provide an answer to the below question: https://serverfault.com/questions/1036919/using-multiple-permit-open-with-match-groups-in-sshd-config-file-in-aws