From 01d4bffd67e221d330ec6ef85a43de3f50bd2922 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 16 Jun 2023 20:58:12 +0530 Subject: [PATCH] Fix #6367 --- kittens/remote_file/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kittens/remote_file/main.py b/kittens/remote_file/main.py index 04bdf19e1..b56d3261f 100644 --- a/kittens/remote_file/main.py +++ b/kittens/remote_file/main.py @@ -111,7 +111,7 @@ class ControlMaster: self.tdir = '' self.last_error_log = '' self.cmd_prefix = cmd = [ - conn_data.binary, '-o', f'ControlPath=~/.ssh/kitty-master-{os.getpid()}-%r@%h:%p', + conn_data.binary, '-o', f'ControlPath=~/.ssh/kitty-rf-{os.getpid()}-%C', '-o', 'TCPKeepAlive=yes', '-o', 'ControlPersist=yes' ] self.is_ssh_kitten = conn_data.binary is is_ssh_kitten_sentinel