How to access your site using SFTP with SSH key? #

  1. Select the site that you want to access using SFTP with ssh key.
  2. From sidebar select “Dev Tools”
  3. In dev tools select “SFTP setup”
  4. The 1st step is to download your ssh key.
  5. After downloading the key, you need to set permission for your key. Use the command below to set permission. 
    For Mac: 
    “chmod 600 (path-to-key)”  For example if your key is in downloads folder, the command would be like this,
    “chmod 600 /Users/tekyantra/Downloads/testfile.pem” 

    For Windows:
    1. Reset permissionsicacls
    “C:\Path\To\Your\testfile.pem” /reset   

    2. Grant Read access to just the current user icacls
    “C:\Path\To\Your\testfile.pem” /grant:r “$($env:USERNAME):R”   

    3. Disable inheritance (removes other users)
    icacls “C:\Path\To\Your\testfile.pem” /inheritance:r
     

  6. After setting permisison you can connect to the site using SFTP servers, for example fileZilla. 
  7. In fileZilla select file and then select site manager.

  8. Click on new site and select SFTP as protocol and logon type to key file.
  9. In host, give your ip address shown in the site and username is bitnami and select the key using the browse function and click on connect.
  10. Now you can access your site’s data.
What are your feelings