By cristovam4
Hello friends,
I’m trying to connect to my server using SFTP as told in https://www.digitalocean.com/community/tutorials/how-to-configure-proftpd-to-use-sftp-instead-of-ftp
But I don’t understand how the ssh keys works. How can I get them from the server to use in FileZilla in my Mac?
I can connect to the server using ssh but not sftp. I get this
subsystem request failed on channel 0 Connection closed
And them I want to give access to another friend, to some folders. How do I create a ssh key for him and give him access?
Thanks
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!
you need to access to console anda change your root password, after this you can access in to sftp with you username root and your new password, i recomend to use WinSCP
you need to access to console anda change your root password, after this you can access in to sftp with you username root and your new password, i recomend to use WinSCP
I can clear up a couple things for you…
The way SSH keys work is that they exist as a private/public pair that together grant you access. The keypair is generated on your local computer and your public key is then added to the server in the file ~/.ssh/authorized_keys
The SSH client on droplets supports SFTP by default, ProFTPD is not generally required unless you have specific requirements.
The option to add your private key to FileZilla can be found in FileZilla Settings > Connection > SFTP > Public Key Authentication
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.