![]() ![]() Next, enable FTP connection for your site (available only for paid users). Paste the SSH public key to your InstaWP profile at Copy this value from ~/.ssh/id_rsa.pub for Mac/Linux users or Puttygen window public key. This will generate a key in your home directory i.e ~/.ssh/ folder. Unix based systems comes with pre-installed command based SSH utility which can be accessed from terminal. Click on Save Public Key and Private key and save them on a known location. Click on Generate and then move around your mouse to generate a RSA 2048 key. Putty contains both – SSH connector and SSH Key pair generator. To connect via SFTP you will need three thingsĭownload Putty and generate a SSH key pair to be used to connect to SFTP server on InstaWP. Now you should be able to login as root with your SSH keys.This a step by step guide to connect to WordPress site on InstaWP via SFTP. 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). This is done (I believe) in the profile settings in the Site Manager of the FileZilla client. 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 |