环境信息:
JDK版本:JDK_1.8
Jsch版本:0.1.5
Hutool版本:5.7.21
1、添加maven依赖
1 | <dependency> |
2、文件上传
1 | /* Copyright © 2022 Yuech and/or its affiliates. All rights reserved. */ |
3、远程命令执行
1 | /* Copyright © 2022 Yuech and/or its affiliates. All rights reserved. */ |
听海观潮
环境信息:
JDK版本:JDK_1.8
Jsch版本:0.1.5
Hutool版本:5.7.21
1 | <dependency> |
1 | /* Copyright © 2022 Yuech and/or its affiliates. All rights reserved. */ |
1 | /* Copyright © 2022 Yuech and/or its affiliates. All rights reserved. */ |