From 3717393ad92ff001e3b684e8c22009d4ea5371de Mon Sep 17 00:00:00 2001 From: hstyi Date: Sun, 15 Jun 2025 17:00:08 +0800 Subject: [PATCH] chore: rename ssh-agent.sock --- src/main/kotlin/app/termora/SshClients.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/app/termora/SshClients.kt b/src/main/kotlin/app/termora/SshClients.kt index 8a526da..ffb5630 100644 --- a/src/main/kotlin/app/termora/SshClients.kt +++ b/src/main/kotlin/app/termora/SshClients.kt @@ -233,8 +233,8 @@ object SshClients { // ssh-agent if (host.authentication.type == AuthenticationType.SSHAgent) { if (SystemInfo.isMacOS) { - val file = FileUtils.getFile(Application.getBaseDataDir(), "config", "ssh_auth_sock.sock") - if (file.exists() && file.isFile) { + val file = FileUtils.getFile(Application.getBaseDataDir(), "config", "ssh-agent.sock") + if (file.exists()) { entry.setProperty(IDENTITY_AGENT, file.absolutePath) } }