mirror of https://github.com/jumpserver/jumpserver
21 lines
930 B
YAML
21 lines
930 B
YAML
id: change_secret_by_ssh
|
|
name: "{{ 'SSH account change secret' | trans }}"
|
|
category:
|
|
- device
|
|
- host
|
|
type:
|
|
- all
|
|
method: change_secret
|
|
params:
|
|
- name: commands
|
|
type: list
|
|
label: '自定义命令'
|
|
default: [ '' ]
|
|
help_text: '自定义命令中如需包含账号的 账号、密码、SSH 连接的用户密码 字段,<br />请使用 {username}、{password}、{login_password}格式,执行任务时会进行替换 。<br />比如针对 Cisco 主机进行改密,一般需要配置五条命令:<br />1. enable<br />2. {login_password}<br />3. configure terminal<br />4. username {username} privilege 0 password {password} <br />5. end'
|
|
|
|
i18n:
|
|
SSH account change secret:
|
|
zh: 使用 SSH 命令行自定义改密
|
|
ja: SSH コマンドライン方式でカスタムパスワード変更
|
|
en: Custom password change by SSH command line
|