protected function publish_ssh(OutputInterface $output, $target)
    {
        // Get FTP config
        $config = $this->config->get('ssh');

        // Ensure there isn't a leading slash
        $remote_dir = ltrim($config['remote_dir'], '/');

        // Shell command
        $output->writeln(shell_exec("rsync -avze 'ssh -p {$config['port']}' {$target} {$config['user']}@{$config['host']}:{$remote_dir} --exclude .DS_Store --exclude downloads.json --exclude cache/"));

        return true;
    }