ssh via public key permissions

Broke log-in to an external server I have access to by attempting to use ssh-copy-id me@server, after which it still wanted my password but once inputted correctly didn’t start the shell. (Though showed the motd).