Ftp

vsftpd
https://help.ubuntu.com/lts/serverguide/ftp-server.html#vsftpd-ftp-server-installation

http://pctechtips.org/how-to-login-into-ssh-without-getting-prompt-for-password/

ssh
http://www.linuxproblem.org/art_9.html ssh without having to input password for remote machine access.

http://www.commandlinefu.com/commands/view/979/backup-a-remote-database-to-your-local-filesystem

ssh user@host 'mysqldump dbname | gzip' > /path/to/backups/db-backup-`date +%Y-%m-%d`.sql.gz

Backup a remote database to your local filesystem

scp
https://www.garron.me/en/articles/scp.html

scp /home/vids/*.mp4    j@192.168.1.12:/home/j/vids

copy from this pc to remote pc, assumes both pc's using the defualt ssh port 22.

scp -C -P 200 /home/vids/*.mp4      j@192.168.1.12:/home/j/vids

Specifies other port to use than default  C enables compression

scp -r -C -P 200 /home/vids/      j@192.168.1.12:/home/j/vids

copy folder contents recursively

folder created at /srv/ftp

https://stackoverflow.com/questions/4994638/one-line-ftp-server-in-python