Copy the contents of my-ssh-key.pub into this file: /root/.ssh/authorized-keys (using sudo access).Ĭonfigure FileZilla to use Key logon. Login to Ubuntu with your account with sudo access. Generate an SSH keypair, if you don't have one (can be done with this command: ssh-keygen -t rsa -b 2048 -f my-ssh-key - this will generate 2 files: my-ssh-key and my-ssh-key.pub). In order for you to log in as root with FileZilla (or any other SFTP tool), you need to setup SSH key authentication. Root access with password is disabled by default on Ubuntu. Disclaimer: I'm not an expert on FileZilla, so for specific instructions please refer to FileZilla documentation.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |