Commit 5b5afe9ab11a

Vincent Demeester <vincent@sbr.pm>
2026-01-12 17:07:59
fix(kitty): add delegation patterns for multi-level shpool sessions
Add hostname patterns to delegate to standard SSH for: - host/session/subsession (two slashes) - host/session=directory - host/session/subsession=directory The previous pattern only matched single slash patterns like aomi.sbr.pm/claude but not aomi.sbr.pm/claude/home or aomi.sbr.pm/claude/home=src/home. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 788ef5f
Changed files (1)
home
common
desktop
home/common/desktop/kitty.nix
@@ -99,9 +99,13 @@
     # SSH kitten configuration - delegate to standard SSH for shpool sessions
     # Hosts with / pattern (e.g., host.domain/session) use RemoteCommand which conflicts with the kitten
     "kitty/ssh.conf".text = ''
-      # Delegate to standard SSH for shpool session patterns (host/session)
+      # Delegate to standard SSH for shpool session patterns (host/session/subsession)
       # This allows RemoteCommand to work without Kitty's SSH kitten interference
+      # Match patterns like: host/session, host/session/name, host/session=dir
       hostname */*
+      hostname */*/*
+      hostname */*=*
+      hostname */*/*=*
       delegate ssh
     '';
   };