diff --git a/docs/remote-control.rst b/docs/remote-control.rst index 1bd95d3dd..4eeca0db2 100644 --- a/docs/remote-control.rst +++ b/docs/remote-control.rst @@ -155,6 +155,9 @@ other computers (for example, over SSH) or as other users. what programs you run in such windows, since they can effectively control kitty, as if you were running with :opt:`allow_remote_control` turned on. + You can further restrict what is allowed in these windows by using + :option:`kitty @ launch --remote-control-password`. + Fine grained permissions for remote control ---------------------------------------------- @@ -169,6 +172,7 @@ You can instead define remote control passwords that can be used to grant different levels of control to different places. You can even write your own script to decide which remote control requests are allowed. This is done using the :opt:`remote_control_password` option in :file:`kitty.conf`. +Set :opt:`allow_remote_control` to :code:`password` to use this feature. Let's see some examples: .. code-block:: conf diff --git a/kitty/launch.py b/kitty/launch.py index 8c37ff800..dcbed2964 100644 --- a/kitty/launch.py +++ b/kitty/launch.py @@ -163,6 +163,7 @@ You can also disable all :opt:`remote_control_password` global passwords for thi This option only takes effect if :option:`--allow-remote-control` is also specified. Can be specified multiple times to create multiple passwords. +This option was added to kitty in version 0.26.0 --stdin-source