Package | Description |
---|---|
io.jpom.controller.ssh | |
io.jpom.model.data | |
io.jpom.service.dblog | |
io.jpom.service.node.ssh |
Modifier and Type | Method and Description |
---|---|
cn.jiangzeyin.common.JsonMessage<SshModel> |
SshController.getItem(String id) |
cn.jiangzeyin.common.JsonMessage<PageResultDto<SshModel>> |
SshController.listData() |
cn.jiangzeyin.common.JsonMessage<List<SshModel>> |
SshController.listDataAll() |
Modifier and Type | Method and Description |
---|---|
static boolean |
SshModel.checkInputItem(SshModel sshItem,
String inputItem)
检查是否包含禁止命令
|
Modifier and Type | Method and Description |
---|---|
void |
SshTerminalExecuteLogService.batch(UserModel userInfo,
SshModel sshItem,
String ip,
String userAgent,
boolean refuse,
List<String> commands)
批量记录日志
|
Modifier and Type | Method and Description |
---|---|
String |
SshService.checkCommand(SshModel sshModel,
String command)
获取 ssh 中的 环境 版本
|
boolean |
SshService.checkSshRun(SshModel sshModel,
String tag)
检查是否存在正在运行的进程
|
Integer |
SshService.checkSshRunPid(SshModel sshModel,
String tag)
检查是否存在正在运行的进程
|
void |
SshService.download(SshModel sshModel,
String remoteFile,
File save)
下载文件
|
String |
SshService.exec(SshModel sshModel,
BiFunction<String,com.jcraft.jsch.Session,String> function,
String... command)
ssh 执行模版命令
|
String |
SshService.exec(SshModel sshModel,
String... command)
ssh 执行模版命令
|
protected void |
SshService.fillSelectResult(SshModel data) |
static com.jcraft.jsch.Session |
SshService.getSessionByModel(SshModel sshModel)
获取 ssh 回话
|
void |
SshService.uploadDir(SshModel sshModel,
String remotePath,
File desc)
上传文件
|
Copyright © 2017–2022. All rights reserved.