From 7269a51188c7803191eed34e44f17682c58d87e7 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Tue, 17 Dec 2024 22:34:43 +0000 Subject: [PATCH] --- src/components/ssh-control.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/ssh-control.vue b/src/components/ssh-control.vue index efd69c8..e717f84 100644 --- a/src/components/ssh-control.vue +++ b/src/components/ssh-control.vue @@ -51,7 +51,7 @@ Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\ssh\shell\open] [HKEY_CLASSES_ROOT\ssh\shell\open\command] -@="C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe -Command \"$val='%l'; $val = $val.TrimEnd('/');if ($val.StartsWith('ssh://')) { $val = $val.SubString(6) }; & 'C:\\Program Files\\PuTTY\\putty.exe' \"$val\"\"" +@="C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe -Command \"$val='%l'; $val = $val.TrimEnd('/');if ($val.StartsWith('ssh://')) { $val = $val.SubString(6) };if ($val.StartsWith('ssh:')) { $val = $val.SubString(4) }; & 'C:\\Program Files\\PuTTY\\putty.exe' \"$val\"\"" ---------------- @@ -60,5 +60,6 @@ Also in putty need to set default to use pagent agent and then open the keys in https://documentation.help/PuTTY/config-saving.html#S4.1.2 +C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Command "$val='%l'; $val = $val.TrimEnd('/');if ($val.StartsWith('ssh://')) { $val = $val.SubString(6) };if ($val.StartsWith('ssh:')) { $val = $val.SubString(4) }; & 'C:\Program Files\PuTTY\putty.exe' "$val"" */