Hi, I have followed this tutorial to create a SSH key pair through my droplet’s command line: https://www.digitalocean.com/community/tutorials/how-to-use-ssh-keys-with-digitalocean-droplets
It seems everything went fine, but where is now my private key to use with FileZilla?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
This question was answered by @kamaln7:
@JonsJava you shouldn’t copy your private key to your server. The server only needs your public key - which should be stored in
~/.ssh/authorized_keysalong with the other public keys that are allowed to connect - to authenticate you.@maelga open FileZilla, go to
Preferences -> SFTP -> Add keys, and add your SSH private key (/home/yourusername/.ssh/id_rsa).
I’ve deleted all my private key files from my own windows pc (c:\users\bob.ssh\id_rsa) and still I’m able to connect to my DO droplet. How come? And on Win10 Bash, I’ve deleted the keys from “C:\Users\Bob\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu18.04onWindows_79rhkp1fndgsc\LocalState\rootfs\home\bobu.ssh\id_rsa” and still I’m able to connect. How come?
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.