![]() Now you should be able to login as root with your SSH keys. If the SFTP Protocol is specified, it is possible to specify the Logon Type as "Key File" and specify the location of the private key file ( my-ssh-key). On getting the prompt of certificate, select 'Always trust this certificate' and then accept it. 6.Inencryption tab only use plain ftp insecure. Once you remove or rename this file, you will get the prompt to accept the certificate while you attempt to connect to FTP server through FileZilla. 5.inhost field write down the ip address of the hosting server and port 21. This is done (I believe) in the profile settings in the Site Manager of the FileZilla client. 3.note down the server ip address of the hosting account for Ex (127.0.0.1). 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. The most common quick fix for this FTP connection error is to change the port number from 21 (default FTP port) to 22 (default SFTP port), or the other way. Disclaimer: I'm not an expert on FileZilla, so for specific instructions please refer to FileZilla documentation.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |