python base remote shell executor