Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

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

Options

Div
classconfluenceTableSmall
Wiki Markup
{div:class=confluenceTableSmall} || Name || Default Value || Description || | {{host}} | {{null}} | Hostname of SSH Server | | {{port}} | {{22}} | Port of the SSH Server | | {{username}} | {{null}} | Username used for authenticating with SSH Server. | | {{password}} | {{null}} | Password used for authenticating with SSH Server. Used if {{keyPairProvider}} is null. | | {{keyPairProvider}} | {{null}} | Refers to a {{

Name

Default Value

Description

host

null

Hostname of SSH Server

port

22

Port of the SSH Server

username

null

Username used for authenticating with SSH Server.

password

null

Password used for authenticating with SSH Server. Used if keyPairProvider is null.

keyPairProvider

null

Refers to a

org.apache.sshd.common.KeyPairProvider

}}

to

use

for

loading

keys

for

authentication.

If

this

option

is

used,

then

{{

password

}}

is

not

used.

| | {{keyType}} |

keyType

ssh-rsa

|

Refers

to

a

key

type

to

load

from

{{

keyPairProvider

}}

.

The

key

types

can

for

example

be

"ssh-rsa"

or

"ssh-dss".

| | {{certResource}} | {{null}} | *Camel

certResource

null

Camel 2.11:

*

Path

reference

to

a

public

key

certificate.

Prefix

path

with

{{

classpath:

}}

,

{{

file:

}}

,

or

{{

http:

}}. | | -{{certFilename}}- | {{null}} | *@deprecated:* Use {{certResource}} instead. Refers to a filename to use within file based {{keyPairProvider}}. | | {{timeout}} | {{30000}} | Milliseconds to wait beforing timing out connection to SSH Server. | {div}

Consumer Only Options

.

certFilename

null

@deprecated: Use certResource instead. Refers to a filename to use within file based keyPairProvider.

timeout

30000

Milliseconds to wait beforing timing out connection to SSH Server.

Consumer Only Options

Div
classconfluenceTableSmall

Name

Default Value

Description

initialDelay

1000

Milliseconds before polling the SSH server starts.

delay

500

Milliseconds before the next poll of the SSH Server.

useFixedDelay

true

Controls if fixed delay or fixed rate is used. See ScheduledExecutorService in JDK for details.

pollCommand

null

Command to send to SSH Server during each poll cycle. You may need to end your command with a newline, and that must be URL encoded %0A.

Wiki Markup
{div:class=confluenceTableSmall} || Name || Default Value || Description || | {{initialDelay}} | {{1000}} | Milliseconds before polling the SSH server starts. | | {{delay}} | {{500}} | Milliseconds before the next poll of the SSH Server. | | {{useFixedDelay}} | {{true}} | Controls if fixed delay or fixed rate is used. See ScheduledExecutorService in JDK for details. | | {{pollCommand}} | {{null}} | Command to send to SSH Server during each poll cycle. You may need to end your command with a newline, and that must be URL encoded {{%0A}}. | {div}

Usage as a Producer endpoint

...