I configured my Raspberry Pi SSH-server to only accept ssh keys when logging in. Really clever I thought, until now.
The thing is, I've added a forced command for one key like this to authorized_keys:
command="cd /home/pi/Sites/" ssh-rsa [bla bla bla] [my comment]
And when trying to log in now, it says just
Connection to MYSITE closed.
What I presume is that the forced command is being run and after that no interactive shell is being launched and therefore the connection is closed. Is there any way to connect anyway and undo the changes I've done to the authorized_keys-file?