SSH What ?!

May 12, 2014 849 views
Can't really understand any of this SSH thing, I have a droplet (Ubuntu LAMP) I want to add a FTP access as well, per the recommendation I understand that it isn't so secure and I should go on sFTP. So I went on and did the step-by-step of setting up ProFTPd but on the last steps where it says that I need to set up SSH key I stuck up. I generated a key ( and copied it to the server authntication_keys or something like that... but than what ? How do I get that key to my FTP client (Filezilla) and how do I use that key for using Putty's access ? Thanks
3 Answers
Never mind that latest post,
I found another tutorial and got it that I need to use Puttygen.

So now I've my public key uploaded to DigitalOcean,
is it possible to apply the SSH key to an existing droplet or I have to destroy it and recreate ?

You don't have to recreate the droplet, but it might be the easiest way to do it. That way your key can be automatically added. If you want to add it to the existing droplet, you need to add the contents of your public key to the the file "~/.ssh/authorized_keys" on the server.
Eventually I've deleted and re-created
I even got the same IP as before.

So now I've SSH access from both a FTP and Putty
but on the FTP I can't have access to www folder (I'm accessing as user root)

How do I fix that ? (a total noob, am I ? :-) )
Have another answer? Share your knowledge.