Hey guys,
So, i’m a non technical guy who followed the instructions at https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys--2 to generate both public and private key with the default file path.
Then, tried to setup FileZilla to connect to my server using SFTP via instructions at https://www.digitalocean.com/community/tutorials/how-to-use-filezilla-to-transfer-and-manage-files-securely-on-your-vps where I then couldn’t find the key file apparently stored somewhere locally on my hard drive? I even tried to search on my local HD with id_rsa
Thanks in advanced for the help.
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!
A better method of transferring your keys is to use ssh-copy-id.
Once you generate your keys (ssh-keygen -t rsa -b 4096), fun the following command.
ssh-copy-id user@ip-address
the “ip-address” reference above is the ip of the box that you want to ssh into.
Sorry, to answer your original question, your key files are stored in /home/user/.ssh.
If you issued the ssh-keygen using sudo or root, the key files are in /root/.ssh.
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.