Describe the bug
When using the ssh kitten to connect to a remote server, the permissions for the remote kitty binary are removed, i.e. I can't execute kitty until I readd the execution permission.
To Reproduce
Steps to reproduce the behavior:
[local] $ kitty +kitten ssh cg2
[remote] $ kitty --version
bash: /export/home/jomuelle/.local/share/kitty-ssh-kitten/kitty/bin/kitty: Permission denied
[remote] $ ls -l .local/share/kitty-ssh-kitten/kitty/bin/
total 4
-rw-r--r-- 1 jomuelle CompVis 3840 Mai 4 09:51 kitty
[remote] $ chmod +x .local/share/kitty-ssh-kitten/kitty/bin/kitty
[remote] $ ls -l .local/share/kitty-ssh-kitten/kitty/bin/
total 4
-rwxr-xr-x 1 jomuelle CompVis 3840 Mai 4 09:51 kitty
[remote] $ logout
Shared connection to compgpu2.iwr.uni-heidelberg.de closed.
[local] $ kitty +kitten ssh cg2
[remote] $ ls -l .local/share/kitty-ssh-kitten/kitty/bin/
total 4
-rw-r--r-- 1 jomuelle CompVis 3840 Mai 4 09:51 kitty
[remote] $ kitty --version
bash: /export/home/jomuelle/.local/share/kitty-ssh-kitten/kitty/bin/kitty: Permission denied
Screenshots
If applicable, add screenshots to help explain your problem.
Environment details
Linux nebuchadnezzar 5.14.0-1050-oem #57-Ubuntu SMP Fri Aug 19 08:01:16 UTC 2022 x86_64
Ubuntu 20.04.4 LTS nebuchadnezzar /dev/tty
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.4 LTS"
Running under: X11
Frozen: True
Paths:
kitty: /home/jay/.local/kitty.app/bin/kitty
base dir: /home/jay/.local/kitty.app/lib/kitty
extensions dir: /home/jay/.local/kitty.app/lib/kitty-extensions
system shell: /bin/bash
Loaded config files:
/home/jay/.config/kitty/kitty.conf
Config options different from defaults:
allow_remote_control yes
enable_audio_bell False
enabled_layouts ['horizontal']
font_family JetBrainsMono Nerd Font
font_size 12.0
initial_window_height (25, 'cells')
initial_window_width (90, 'cells')
remember_window_size False
shell_integration frozenset({'no-cursor'})
visual_bell_duration 0.15
Changed shortcuts:
kitty_mod+enter → new_window_with_cwd
kitty_mod+h → previous_window
kitty_mod+l → next_window
Colors:
background #fafafa
color0 #383a42
color1 #e45649
color10 #40a14f
color11 #c18401
color12 #0184bc
color13 #a626a4
color14 #0997b3
color15 #fafafa
color2 #40a14f
color3 #c18401
color4 #0184bc
color5 #a626a4
color6 #0997b3
color7 #fafafa
color8 #383a42
color9 #e45649
foreground #383a42
selection_background #bfceff
selection_foreground #383a42
url_color #f0f0f0
Important environment variables seen by the kitty process:
PATH /home/jay/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
LANG en_US.UTF-8
SHELL /bin/bash
DISPLAY :0
USER jay
LC_TIME de_DE.UTF-8
XDG_SESSION_TYPE x11
LC_MONETARY de_DE.UTF-8
XDG_SESSION_CLASS user
LC_ADDRESS de_DE.UTF-8
XDG_RUNTIME_DIR /run/user/1000
XDG_MENU_PREFIX gnome-
LC_TELEPHONE de_DE.UTF-8
XDG_CURRENT_DESKTOP ubuntu:GNOME
XDG_SESSION_DESKTOP ubuntu
LC_NAME de_DE.UTF-8
LC_MEASUREMENT de_DE.UTF-8
LC_IDENTIFICATION de_DE.UTF-8
XDG_DATA_DIRS /usr/share/ubuntu:/home/jay/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
XDG_CONFIG_DIRS /etc/xdg/xdg-ubuntu:/etc/xdg
LC_NUMERIC de_DE.UTF-8
LC_PAPER de_DE.UTF-8
Additional context
Problem occurs with kitty --config NONE.
Describe the bug
When using the ssh kitten to connect to a remote server, the permissions for the remote kitty binary are removed, i.e. I can't execute kitty until I readd the execution permission.
To Reproduce
Steps to reproduce the behavior:
Screenshots
If applicable, add screenshots to help explain your problem.
Environment details
Additional context
Problem occurs with
kitty --config NONE.