Run a command on connection
Example from cmdline: ssh host -t remote_cmd
I often do this to connect to a screen session on a remote host.
This feature is available for subscribers for a long time already.
You can add snippets in the app and set them for hosts or groups to be executed on when the session starts.
Hope it helps.
I miss my typing ls -larhx */* on my old mac and watching a stream of random stuff!
This is necessary to make the terminal practical for many use cases. Running a program upon connection instead of presenting a shell is a common use of ssh
This could be great to run tmux or screen automatically to attach to a previous session, ideal to avoid loosing state when you lost connection!
Yeah! Maybe we can have an Events panel for that. You can create a new event, it'll send the command and exit back out with one click.