lite-ts-ssh2
v11.2.1
Published
* Ssh2Command - ssh2命令
Downloads
12
Readme
代码
CommandBase - 命令
- Ssh2Command - ssh2命令
const cfg: ConnectConfig;
const cmd: CommandBase = new Ssh2Command(cfg);
FileFactoryBase - 文件工厂
const cfg: ConnectConfig;
const fileFactory: FileFactoryBase = new Ssh2FileFactory(cfg);
IDirectory - 目录
- Ssh2Directory - ssh2目录
const cfg: ConnectConfig;
const dir: IDirectory = new Ssh2Directory('路径', cfg);
IFile - 文件
- Ssh2File - ssh2文件
const cfg: ConnectConfig;
const file: IFile = new Ssh2File('路径', cfg);