Launch command on remote ssh session #5987
AprilArcus
started this conversation in
General
Replies: 3 comments
-
I experimented a little bit and found that this accomplishes what I want:
I would propose that
could be shorthand for this. |
Beta Was this translation helpful? Give feedback.
0 replies
-
IIRC currently kitty only forwards over ssh if you are running the shell,
this is because often when running a program it might be one that you
want the local version of, for example when browsing scrollback or
running a kitten. I suppose I could have requests received over remote
control from a remote system default to running the specified command
remotely, or maybe add a flag to launch to control the behavior.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
There you go: 7c8c7fe |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
If I execute
kitty +kitten ssh my-remote
and thenkitty @ launch --cwd=current
from the resulting SSH session, I see a new kitty window connected tomy-remote
.However, if I pass a command as an argument, e.g.
kitty @ launch --cwd=current top
, the command is executed on my local environment, not mymy-remote
. How can I usekitty @ launch
to open a new command after establishing an SSH connection and changing to the appropriate directory?Beta Was this translation helpful? Give feedback.
All reactions