执行ssh command,在session模式下,standard output 只能在执行结束的时候获取到
(sshCommand string)
| 724 | |
| 725 | // 执行ssh command,在session模式下,standard output 只能在执行结束的时候获取到 |
| 726 | func (instance *SSHRemote) ExeSSHCommand(sshCommand string) (outContent string, err error) { |
| 727 | |
| 728 | return instance.ExeSSHCommandConsole(sshCommand) |
| 729 | } |
| 730 | |
| 731 | // 复制文件 |
| 732 | func (instance *SSHRemote) CopyFile(localFilePath string, remoteFilepath string) error { |
no test coverage detected