This is an automated email from the ASF dual-hosted git repository.
oscerd pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
The following commit(s) were added to refs/heads/main by this push:
new f571914a5 chore: ssh-source passes pollCommand in RAW(), so a command
with +, & or = runs as written (#3273)
f571914a5 is described below
commit f571914a5dc38ef7ab009ae759dbefefefeca364
Author: Claus Ibsen <[email protected]>
AuthorDate: Thu Nov 19 18:30:18 2026 +0100
chore: ssh-source passes pollCommand in RAW(), so a command with +, & or =
runs as written (#3273)
Co-authored-by: Claude Opus 5.5 <[email protected]>
---
kamelets/ssh-source.kamelet.yaml | 2 +-
.../camel-kamelets/src/main/resources/kamelets/ssh-source.kamelet.yaml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/kamelets/ssh-source.kamelet.yaml b/kamelets/ssh-source.kamelet.yaml
index ca0eb51e5..7d5431e6b 100644
--- a/kamelets/ssh-source.kamelet.yaml
+++ b/kamelets/ssh-source.kamelet.yaml
@@ -123,7 +123,7 @@ spec:
- "camel:kamelet"
template:
from:
- uri:
"ssh://{{connectionHost}}:{{connectionPort}}?delay={{delay}}&certResource={{?privateKeyResource}}&certResourcePassword=RAW({{?privateKeyPassphrase}})&failOnUnknownHost={{?failOnUnknownHost}}&knownHostsResource={{?knownHostsResource}}&password=RAW({{?password}})&pollCommand={{pollCommand}}&timeout={{?connectTimeout}}&username=RAW({{username}})"
+ uri:
"ssh://{{connectionHost}}:{{connectionPort}}?delay={{delay}}&certResource={{?privateKeyResource}}&certResourcePassword=RAW({{?privateKeyPassphrase}})&failOnUnknownHost={{?failOnUnknownHost}}&knownHostsResource={{?knownHostsResource}}&password=RAW({{?password}})&pollCommand=RAW({{pollCommand}})&timeout={{?connectTimeout}}&username=RAW({{username}})"
steps:
- convertBodyTo:
type: java.lang.String
diff --git
a/library/camel-kamelets/src/main/resources/kamelets/ssh-source.kamelet.yaml
b/library/camel-kamelets/src/main/resources/kamelets/ssh-source.kamelet.yaml
index ca0eb51e5..7d5431e6b 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/ssh-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/ssh-source.kamelet.yaml
@@ -123,7 +123,7 @@ spec:
- "camel:kamelet"
template:
from:
- uri:
"ssh://{{connectionHost}}:{{connectionPort}}?delay={{delay}}&certResource={{?privateKeyResource}}&certResourcePassword=RAW({{?privateKeyPassphrase}})&failOnUnknownHost={{?failOnUnknownHost}}&knownHostsResource={{?knownHostsResource}}&password=RAW({{?password}})&pollCommand={{pollCommand}}&timeout={{?connectTimeout}}&username=RAW({{username}})"
+ uri:
"ssh://{{connectionHost}}:{{connectionPort}}?delay={{delay}}&certResource={{?privateKeyResource}}&certResourcePassword=RAW({{?privateKeyPassphrase}})&failOnUnknownHost={{?failOnUnknownHost}}&knownHostsResource={{?knownHostsResource}}&password=RAW({{?password}})&pollCommand=RAW({{pollCommand}})&timeout={{?connectTimeout}}&username=RAW({{username}})"
steps:
- convertBodyTo:
type: java.lang.String