Automatically Run Command on Remote Machine On TeamViewer Connection?

Options
complexable
complexable Posts: 2 ✭✭

I have a command that I would like to automatically run on my remote machine whenever I connect to it (both local and remote machines are running Xubuntu 22.04). Is there a way to do this?

Tagged: