第 327 章 SSH 组件

作为 Camel 2.10 版本提供

SSH 组件支持访问 SSH 服务器,以便可以发送 SSH 命令,并处理响应。

Maven 用户需要将以下依赖项添加到其 pom.xml 中:

<dependency>
    <groupId>org.apache.camel</groupId>
    <artifactId>camel-ssh</artifactId>
    <version>x.x.x</version>
    <!-- use the same version as your Camel core version -->
</dependency>

327.1. URI 格式

ssh:[username[:password]@]host[:port][?options]