Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Remote shell:
- python -c 'import pty; pty.spawn("/bin/bash")'
- ctrl-z
- # Local shell:
- stty -a
- echo $TERM
- stty raw -echo
- fg
- # Remote shell:
- reset
- export SHELL=bash
- export TERM=xterm-256color
- stty rows 45 columns 150
Add Comment
Please, Sign In to add comment