The title says it all, I can’t connect to my droplet anymore, it worked before but now i can’t access it via putty or WinSCP, it just says access denied everytime. How can I fix that?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hello,
Have you tried generating an SSH key for Putty and then adding this key toy our ~/.ssh/authorized_keys
folder?
From what I understand there is access to your droplet however only by using the console. This would mean your SSH key is most probably incorrect or you don’t have one added from the system you are connecting to. In such a case as said, I’ll recommend generating the key with the Putty program and inserting it on your server.
Regards, KFSys
This comment has been deleted
I still have not fixed this.
Also please don’t forget I’m a very new beginner to linux in general, so it may be a really stupid error. The login i’m using is root, from looking for a solution i saw that is really bad practice to use password and root login, but that’s something I can change later if i’m able to access the droplet via putty and winscp.