make clipboard upload work with scp