I have a Raspberry Pi which I use to run a Python script 24/7. I can remotely access it from my Linux laptop using SSH. But connecting to it using
ssh <username>:<address> will create a new session instead of accessing the current session running in my Pi. Is there a way of using SSH so that I can see what my Python script is doing remotely and terminate and restart it remotely if necessary?
Effectively, I would like my laptop to be able to show me whatever is currently being displayed in my Pi.