2020
11-25
11-25
使用springboot对linux进行操控的方法示例
1,在pom中导入<dependency><groupId>ch.ethz.ganymed</groupId><artifactId>ganymed-ssh2</artifactId><version>build210</version></dependency>2,编写工具类packageorg.jeecg.modules.system.util;/***@Description:*@Author:LGX*@Date:2020/11/1910:36*/importch.ethz.ssh2.Connection;importch.ethz.ssh2.Session;importch.ethz.ssh2.StreamGobbler;importlombok.AllArgsConstructor;importlombok.D...
继续阅读 >