@Pixel0501 when you say "my" password, you aren't talking about your Mac OS password are you? The default password for retropie is ........ raspberry. Another question is have you logged in via ssh before? Because if you have and had to start over by reinstalling retropie, Mac OS has a security feature that keeps logs of MAC addresses and ssh keys, and when you try to log in again it will stop you since the new retropie install will not be using the same key. Mac OS tells you though and tells you what file you have to edit to remove that log.