public class GanymedUtil extends Object
| Constructor and Description |
|---|
GanymedUtil() |
| Modifier and Type | Method and Description |
|---|---|
static ch.ethz.ssh2.Connection |
openConnection(Connector connector)
打开SSH连接
|
static ch.ethz.ssh2.Session |
openSession(ch.ethz.ssh2.Connection connection)
打开SSH会话
|
public static ch.ethz.ssh2.Connection openConnection(Connector connector)
connector - 连接信息Connectionpublic static ch.ethz.ssh2.Session openSession(ch.ethz.ssh2.Connection connection)
connection - 连接对象SessionCopyright © 2025. All rights reserved.