         user: config.user
         pass: config.pass
         database: config.database
+        host: config.host
     )
     comparison = ""
     i = 0

    backup_path: "<%= backups_dir %>/<%= env %>/<%= date %>/<%= time %>"
    mysqldump: "mysqldump -h <%= host %> -u<%= user %> -p<%= pass %> <%= database %>"
    mysql: "mysql -h <%= host %> -u <%= user %> -p<%= pass %> <%= database %>"
    sql_connect: "mysql <%= database %> -u <%= user %> --password=<%= pass %>"
    rsync_push: "rsync <%= rsync_args %> --delete -e 'ssh <%= ssh_host %>' <%= exclusions %> <%= from %> :<%= to %>"
    rsync_pull: "rsync <%= rsync_args %> -e 'ssh <%= ssh_host %>' <%= exclusions %> :<%= from %> <%= to %>"
    ssh: "ssh <%= host %>"

        tables_sql: tables_sql
    )
    
    if typeof config.ssh_host is "undefined"
      grunt.log.oklns "Getting prefix matches in LOCAL db/prefix ['" + config.database + "'/'" + config.table_prefix + "']"
    else
      grunt.log.oklns "Getting prefix matches in REMOTE db/prefix ['" + config.database + "'/'" + config.table_prefix + "']"
      tpl_ssh = grunt.template.process(tpls.ssh,
        data:
          host: config.ssh_host
      )
      prefix_matches_cmd = tpl_ssh + " \"" + prefix_matches_cmd.replace( /\"/g, '\\"' ) + "\""

    # console.log('cmd \n' + prefix_matches_cmd);
    prefix_matches = shell.exec(prefix_matches_cmd,
      silent: true
    ).output

    # Make sure to remove 'stdin: is not a tty' if that error appears
    # Fix : On the destination server, edit /etc/bashrc file and comment out the "mesg y" line.
    # http://www.linux.org/threads/stdin-is-not-a-tty.16/?codekitCB=415084070.551448
    prefix_matches = prefix_matches.replace(/stdin: is not a tty/g, "")

    # Remove new lines/return chars
    prefix_matches = prefix_matches.replace(/(\r\n|\n|\r)/g, "")
    
    # console.log prefix_matches

    prefix_matches.split " "

  
