SSH Source
Provided by: "Apache Software Foundation"
Support Level for this Kamelet is: "Stable"
Receive data from SSH session.
Configuration Options
The following table summarizes the configuration options available for the ssh-source
Kamelet:
Property | Name | Description | Type | Default | Example |
---|---|---|---|---|---|
Connection Host | Required The SSH Host. | string | |||
Connection Port | Required The SSH Port. | string | 22 | ||
Password | Required The SSH password to use. | string | |||
Poll Command | Required The command to run while polling the SSH session. | string | date | ||
Username | Required The SSH username to use. | string | |||
Delay | The number of milliseconds before the next poll. | integer | 500 |
Dependencies
At runtime, the ssh-source
Kamelet relies upon the presence of the following dependencies:
-
camel:ssh
-
camel:kamelet
Camel JBang usage
Prerequisites
-
You’ve installed JBang.
-
You have executed the following command:
jbang app install camel@apache/camel
Supposing you have a file named route.yaml with this content:
- route:
from:
uri: "kamelet:ssh-source"
parameters:
.
.
.
steps:
- to:
uri: "kamelet:log-sink"
You can now run it directly through the following command
camel run route.yaml