feat(ssh-launcher): add /ssh launcher for SSH config hosts (#138)
* feat(ssh-launcher): add /ssh launcher for SSH config hosts Provide a launcher provider that reads ~/.ssh/config, lists host aliases with fuzzy search, and opens an SSH session in the terminal on activate. * docs(ssh-launcher): update store thumbnail Replace the plugin card image with the final SSH Launcher artwork, blur server IP addresses, and fix the displayed category tags. * fix(ssh-launcher): parse SSH config directives case-insensitively Match Host, Hostname, and User keywords regardless of casing so lowercase blocks are included, consistent with OpenSSH behavior.
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
id = "cleboost/ssh-launcher"
|
||||
name = "SSH Launcher"
|
||||
version = "1.0.0"
|
||||
plugin_api = 3
|
||||
author = "Cleboost"
|
||||
license = "MIT"
|
||||
icon = "terminal"
|
||||
description = "Connect to SSH hosts from ~/.ssh/config via /ssh."
|
||||
tags = ["launcher", "network", "utility", "development"]
|
||||
dependencies = ["ssh"]
|
||||
|
||||
[[launcher_provider]]
|
||||
id = "launcher"
|
||||
entry = "launcher.luau"
|
||||
prefix = "ssh"
|
||||
glyph = "terminal"
|
||||
include_in_global_search = false
|
||||
debounce_ms = 0
|
||||
|
||||
[[setting]]
|
||||
key = "config_path"
|
||||
type = "file"
|
||||
label_key = "settings.config_path.label"
|
||||
description_key = "settings.config_path.description"
|
||||
default = "~/.ssh/config"
|
||||
|
||||
[[setting]]
|
||||
key = "max_results"
|
||||
type = "int"
|
||||
label_key = "settings.max_results.label"
|
||||
description_key = "settings.max_results.description"
|
||||
default = 30
|
||||
min = 1
|
||||
max = 100
|
||||
|
||||
[[setting]]
|
||||
key = "extra_args"
|
||||
type = "string"
|
||||
label_key = "settings.extra_args.label"
|
||||
description_key = "settings.extra_args.description"
|
||||
default = ""
|
||||
|
||||
[[setting]]
|
||||
key = "terminal"
|
||||
type = "string"
|
||||
label_key = "settings.terminal.label"
|
||||
description_key = "settings.terminal.description"
|
||||
default = ""
|
||||
advanced = true
|
||||
Reference in New Issue
Block a user