Can't get into shell (ssh)

It was working fine originally, but when I first tried to use it I forgot to add shell access for the user so I had attempted to connect a lot of times before I realized it. Now it seems that something might have been done to maybe ban my ip I’m assuming? I get this error all the time while trying to get on:

ssh_exchange_identification: Connection closed by remote host

I google’d this and someone said it was just too many open connections and it would start to work again after they quit. So I waited, it’s been 2 days and it’s still not working so I’m guessing that’s not the problem.