Server Migration

For each of the following methods, make sure you have the right credentials to each remote server you are working. You need the right pair of username and password of each machine for a successful transfer.

Your backend is accessible only through ssh key-pairing but you have the need to use an FTP program like FileZilla to transfer a file from or to a local machine.

Temporarily disable the ssh only access
From the command line:

  1. sudo nano /etc/ssh/sshd_config
  2. Set PasswordAuthentication to yes
  3. sudo service sshd restart

From your FTP application

Note that this is a personal workflow of mine and not a tutorial.  Commands may vary according to your setup.