I'm using Amazon EC2 for Magento website and WinScp to access SFTP. Sometimes I'm using terminal in WinScp to execute command.
Today I need to delete some files so I used
rm -R /* and forget to mention folder name.
Now i am unable to login using winscp to my server and the website is not working. I am getting this error in winscp:
"Authentication log (see session log for details): Using username "ubuntu". Server refused our key. Authentication failed."
How can I login again and undo the massive erase?