From 78a64a9025ab4c75a40de63a171ab98a7feb8450 Mon Sep 17 00:00:00 2001 From: Mxmilu Date: Sun, 24 Dec 2023 12:48:16 +0800 Subject: [PATCH] Fix Connection error while opening WinSCP session using IPV6 address --- tabby-ssh/src/services/ssh.service.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tabby-ssh/src/services/ssh.service.ts b/tabby-ssh/src/services/ssh.service.ts index bc983d09..234b2400 100644 --- a/tabby-ssh/src/services/ssh.service.ts +++ b/tabby-ssh/src/services/ssh.service.ts @@ -39,8 +39,7 @@ export class SSHService { } if (profile.options.host.includes(':')) { uri += `@[${profile.options.host}]:${profile.options.port}${cwd ?? '/'}` - } - else { + }else { uri += `@${profile.options.host}:${profile.options.port}${cwd ?? '/'}` } }