#!/bin/false # on target python -c "import pty; pty.spawn('/bin/bash')" # background with stty raw -echo && fg export TERM=xterm-256-color