Package | Description |
---|---|
io.jpom.service.node.ssh |
Modifier and Type | Method and Description |
---|---|
List<SshModel> |
SshService.list() |
Modifier and Type | Method and Description |
---|---|
void |
SshService.addItem(SshModel sshModel) |
boolean |
SshService.checkSshRun(SshModel sshModel,
String tag)
检查是否存在正在运行的进程
|
void |
SshService.download(SshModel sshModel,
String remoteFile,
File save)
下载文件
|
String |
SshService.exec(SshModel sshModel,
String command)
执行命令
|
com.jcraft.jsch.Session |
SshService.getSession(SshModel sshModel) |
void |
SshService.uploadDir(SshModel sshModel,
String remotePath,
File desc)
上传文件
|
Copyright © 2017–2019. All rights reserved.