By fsdolphin
Hi,
I recently setup my first droplet, I basically configured it following these two tutorials.
1- Server Setup
I have been SSHing from the terminal and everything works fine. Today I tried to use my FTP client (Transmit) and I realized that since I disabled the root user and because I’m using a user who requires the use of ‘sudo’ this wasn’t going to be possible and I was right, I cannot upload files to folder that outside my user folder.
How is this typically handled?
How can I use my FTP program to upload files to my server?
Do I need to enable the root user?
Can someone be so kind and give me some direction?
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!
Hi. For those of you, who is still facing the problem with Transmit working with encrypted keys. Maybe, before chowning on the server you’ll find it helpful just to put your passphrase (the local password you chose when encrypted the keys) to the password field of Transmit app. As Transmit app developer recommends here: If you’ve specified an encrypted key for use with this server in your config file, you can leave the key button alone and put the passphrase in Transmit’s password field.
Spent some time… Helped me a lot.
You don’t need to activate root to do that.
In Transmit check these settings: Protocol: choose SFTP Server: your full domain name or IP user name: your sudo username (not root)
Port: only enter somthing here if you changed the default port 22 to something else
Once you start modifying files on your server via Transmit you may run into permission issues. If you do connect via SSH to your server and type this into the command line:
chown -R demouser. /var/www/html
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.