Closed
Description
Describe the bug
Can't edit, open or save file when clicking on it over ssh.
To Reproduce
Steps to reproduce the behavior:
- kitty +kitten ssh to a server
- ls --hyperlink=auto, click on a file
- Choosing edit, open or save would produce error:
Traceback (most recent call last):
File "/usr/bin/../lib64/kitty/kittens/remote_file/main.py", line 246, in main
except Exception:
^^^^^^^
File "/usr/bin/../lib64/kitty/kittens/remote_file/main.py", line 329, in handle_action
if not master.check_hostname_matches():
File "/usr/bin/../lib64/kitty/kittens/remote_file/main.py", line 141, in __enter__
self.cmd_prefix + ['-o', 'ControlMaster=auto', '-fN', self.conn_data.hostname])
File "/usr/bin/../lib64/kitty/kittens/remote_file/main.py", line 137, in check_call
Exception: The ssh command: /usr/bin/ssh -o 'ControlPath=~/.ssh/kitty-master-507830-%r@%h:%p' -o TCPKeepAlive=yes -o ControlPersist=yes { Distributed under terms of the GPLv3 license.dgoyal.net>fN ''"'"'/bin/sh
unalias command;
die() { printf " ] && command rm -rf "$tdir"ho" 2> /dev/null < /dev/tty
033[31m%s
033[m
n
base64_encode() { command base64 | command tr -d turn 1; fi 1; fistrap_exit; exit 1; }
n
base64_encode() { command b64encode - | command sed }
1d;$d
| command tr -d
n
pybase64() { command "$python" -c "import sys, base64; getattr(sys.stdout, r; }
buffer
, sys.stdout).write(base64.standard_b64$1(getattr(sys.stdin,
buffer
base64_encode() { command "$perl" -MMIME::Base64 -0777 -ne
print encode_base64($_)
base64_decode() { command "$perl" -MMIME::Base64 -ne ; }
print decode_base64($_)
dcs_to_kitty() { printf "e not present on remote host, ssh kitten cannot function."
033P@kitty-$1|%s
033
'"'"'' failed with exit code 255 and output: Warning: Identity file /home/solopasha/TCPKeepAlive=no not accessible: No such file or directory.
if [ perl_detecte -o -x "$python" ]; then python=""; return 1; fi cleanup_on_bootstrap_exit; exit 1; }
Failed with unhandled exception
Press any key to quit
Environment details
kitty 0.28.0 (b81f457e9b) created by Kovid Goyal
Linux solopasha-desktop 6.2.10-300.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Apr 6 23:52:55 UTC 2023 x86_64
S
Kernel 6.2.10-300.fc38.x86_64 on an x86_64 (/dev/tty)
Running under: Wayland
Frozen: False
Paths:
kitty: /usr/bin/kitty
base dir: /usr/lib64/kitty
extensions dir: /usr/lib64/kitty/kitty
system shell: /bin/zsh
Loaded config files:
/home/solopasha/.config/kitty/kitty.conf
Config options different from defaults:
active_tab_font_style (True, False)
click_interval 0.5
cursor_shape 3
cursor_underline_thickness 1.0
enable_audio_bell False
enabled_layouts ['grid', 'fat:bias=65', 'stack', 'tall:bias=65', 'horizontal', 'vertical']
focus_follows_mouse True
font_family CaskaydiaCove Nerd Font Mono
font_size 10.0
inactive_text_alpha 0.9
input_delay 2
modify_font:
cell_height 0
cell_width 1
mouse_hide_wait 0.0
repaint_delay 20
scrollback_lines 10000
select_by_word_characters :@-./_~?&=%+#
shell_integration frozenset({'no-cursor'})
tab_bar_margin_width 3.0
tab_bar_style powerline
tab_fade (1.0, 1.0, 1.0)
url_style 2
wayland_titlebar_color 673720322
window_border_width (1.0, 'pt')
window_margin_width FloatEdges(left=1.0, top=1.0, right=1.0, bottom=1.0)
window_padding_width FloatEdges(left=1.0, top=1.0, right=1.0, bottom=1.0)
Removed mouse actions:
left click ungrabbed → mouse_handle_click selection link prompt
Changed shortcuts:
kitty_mod+- → decrease_font_size
kitty_mod+= → increase_font_size
kitty_mod+backspace → restore_font_sizt
kitty_mod+enter → new_window_with_cwd
kitty_mod+n → new_os_window_with_cwd
Colors:
active_border_color #ebcb8b
active_tab_background #ebcb8b
active_tab_foreground #282828
background #1e2127
bell_border_color #bf616a
color0 #3b4252
color1 #bf616a
color10 #98c379
color11 #d19a66
color12 #61afef
color13 #c678dd
color14 #56b6c2
color15 #eceff4
color2 #a3be8c
color3 #ebcb8b
color4 #81a1c1
color5 #b48ead
color6 #88c0d0
color7 #abb2bf
color8 #5c6370
color9 #e06c75
cursor #ffffff
foreground #d8dee9
inactive_border_color #333333
inactive_tab_background #1e2127
inactive_tab_foreground #eeeeee
Important environment variables seen by the kitty process:
PATH /home/solopasha/.local/bin:/home/solopasha/bin:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
LANG en_US.UTF-8
EDITOR /usr/bin/nano
SHELL /bin/zsh
DISPLAY :0
WAYLAND_DISPLAY wayland-0
USER solopasha
XCURSOR_SIZE 24
LC_MEASUREMENT en_GB.UTF-8
LC_MONETARY en_GB.UTF-8
LC_NUMERIC en_GB.UTF-8
LC_PAPER en_GB.UTF-8
LC_TIME en_GB.UTF-8
XDG_DATA_DIRS /home/solopasha/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
XDG_RUNTIME_DIR /run/user/1000
XDG_CONFIG_DIRS /home/solopasha/.config/kdedefaults:/etc/xdg:/usr/share/kde-settings/kde-profile/default/xdg
XDG_CURRENT_DESKTOP KDE
XDG_MENU_PREFIX kf5-
XDG_SEAT seat0
XDG_SEAT_PATH /org/freedesktop/DisplayManager/Seat0
XDG_SESSION_CLASS user
XDG_SESSION_DESKTOP KDE
XDG_SESSION_ID 2
XDG_SESSION_PATH /org/freedesktop/DisplayManager/Session1
XDG_SESSION_TYPE wayland
XDG_VTNR 2