You are not logged in.
I have a saved "Default" session, which restores a bunch of terminal windows/tabs on startup, to their appropriate workspace. I'd like to know how I can run commands in particular terminals at this time, so that, for example, I can automatically SSH into remote servers.
I've seen a few questions about scripting this in general, but not as part of Session.
Offline
I'm pretty sure this isn't possible. It can restore the terminal but not the script/session running inside of it. I'm not sure that would be a good idea either, from a security point of view.
You can always write a shell script to create the windows and execute the commands - placing the terminals in the correct locations.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
i run screen on the remote and make new connections running a screen command to access the session i had there under any user i login there (sometimes i do many, such as cloud instances).
Last edited by Skaperen (2023-04-16 18:28:55)
Offline
[ Generated in 0.009 seconds, 7 queries executed - Memory usage: 523.59 KiB (Peak: 531.12 KiB) ]