push local file to remote server by ssh or rsync protocol