This commit is contained in:
@@ -51,7 +51,7 @@ Windows Registry Editor Version 5.00
|
|||||||
[HKEY_CLASSES_ROOT\ssh\shell\open]
|
[HKEY_CLASSES_ROOT\ssh\shell\open]
|
||||||
|
|
||||||
[HKEY_CLASSES_ROOT\ssh\shell\open\command]
|
[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
|
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""
|
||||||
*/
|
*/
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user