Linux command
sshclick 命令
网络
需要网络或远程资源。
常用示例
List all configured SSH hosts
sshc host list
Show host details in card format
sshc host show [myserver] --style card
Create a new host group
sshc group create [mygroup] --desc "[Production servers]"
Create a host
sshc host create [myserver] --param hostname=[example.com] --param user=[admin] --param port=[22]
Delete a host
sshc host delete [myserver]
Launch the interactive TUI
sshc tui
说明
sshclick is a CLI and TUI tool for managing SSH configuration files. It parses your SSH config (`~/.ssh/config` by default) and provides commands to list, filter, modify, and view host entries. Through additional metadata comments, it supports abstractions like host groups and descriptions for better organization. The TUI mode provides interactive navigation, search, and editing of hosts and groups.
参数
- -f, --file _PATH_
- Use a specific SSH config file (default `~/.ssh/config`).
- --style _STYLE_
- Output style: table, card, json.
- --param _key=value_
- Set an SSH option on a host (e.g. hostname, user, port, identityfile).
- --desc _TEXT_
- Description metadata for hosts or groups.
FAQ
What is the sshclick command used for?
sshclick is a CLI and TUI tool for managing SSH configuration files. It parses your SSH config (`~/.ssh/config` by default) and provides commands to list, filter, modify, and view host entries. Through additional metadata comments, it supports abstractions like host groups and descriptions for better organization. The TUI mode provides interactive navigation, search, and editing of hosts and groups.
How do I run a basic sshclick example?
Run `sshc host list` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -f, --file _PATH_ do in sshclick?
Use a specific SSH config file (default `~/.ssh/config`).