Spawning bash with python:
$ python -c 'import pty; pty.spawn("/bin/bash")'
If python not installed, I use it and it's works like killer
/usr/bin/script -qc /bin/bash /dev/null
Background'ing the remote shell with CTRL-Z:
root@remote:~$ ^Z
Spawning bash with python:
$ python -c 'import pty; pty.spawn("/bin/bash")'
If python not installed, I use it and it's works like killer
/usr/bin/script -qc /bin/bash /dev/null
Background'ing the remote shell with CTRL-Z:
root@remote:~$ ^Z