SlideShare a Scribd company logo
Mule ESB: SSH Connector
This Example Explains about running UNIX
commands in a remote ssh enabled UNIX/LINUX
machine using Mule ESB SSH Connector.
Pre-requisites
● Anypoint Studio 5.2.0 with SSH Connector
installed.
● Mule ESB Runtime 3.7.1
● SSH enabled unix/linux machine
Mule SSH Connector Flow
CallBack Flow for SSH Connector
SSH Connector Configuration
I am running below UNIX command using SSH
Connector
“touch tezt.xml”
Mule ESB : ssh connector
Mule Flow Source
<http:listener-config name="HTTP_Listener_Configuration" host="0.0.0.0"
port="8081" doc:name="HTTP Listener Configuration"/>
<ssh:config name="SSH" username="anil" password="qwerty"
privateKeyFile="id_rsa" host="192.168.56.101" port="22" timeout="200"
callbackFlowName="callbackflow" receiverBufferSize="1024"
disableKnownHostsVerification="true" shellMode="true" doc:name="SSH"/>
<flow name="testsshFlow">
<http:listener config-ref="HTTP_Listener_Configuration" path="/"
doc:name="HTTP"/>
<ssh:send config-ref="SSH" content="touch tezt.xml"
doc:name="SSH"/>
</flow>
<flow name="callbackflow">
<logger message="File Copied" level="INFO" doc:name="Logger"/>
</flow>
File Created in unix Machine

More Related Content

PPTX
A Brief Introduction to Writing and Understanding Puppet Modules
PPTX
node.js workshop- node.js basics
PPTX
Creating beautiful puppet modules with puppet-lint
PPTX
node.js workshop- node.js middleware
PDF
Tomáš Čorej - OpenSSH
PDF
Virtualbox and Mysql
PDF
Git installation
PDF
The Unix Command Line | Jim Reevior
A Brief Introduction to Writing and Understanding Puppet Modules
node.js workshop- node.js basics
Creating beautiful puppet modules with puppet-lint
node.js workshop- node.js middleware
Tomáš Čorej - OpenSSH
Virtualbox and Mysql
Git installation
The Unix Command Line | Jim Reevior

What's hot (20)

PDF
Scaling antispam solutions with Puppet
PDF
Стажировка 2016-07-27 02 Денис Нелюбин. PostgreSQL и jsonb
PPTX
Top 28 programming language with hello world for artificial intelligence
DOC
Qtp wsh scripts examples
PDF
Alex Troush - IEx Cheat Sheet. Guide to Win with IEx on your Day to Day Job
PDF
使用 CLI 管理 OpenStack 平台
PDF
Docker 基本概念與指令操作
PDF
Build your own private openstack cloud
PPTX
Install zpanel on linux server in 5 minutes
PDF
Devinsampa nginx-scripting
PDF
Ssh between ansible control node with that of target
PDF
IPython from 30,000 feet
PDF
Mise en place d'un client VPN l2tp IPsec sous docker
PPT
Configuration Management with Cfengine
PDF
Beyond Golden Containers: Complementing Docker with Puppet
PDF
Clojure@Nuday
PDF
Yurii Bodarev - Ecto DSL
PDF
PSR-7 and PSR-15, why can't you ignore them
PDF
2 docker engine_hands_on
 
PDF
Hunting and Exploiting Bugs in Kernel Drivers - DefCamp 2012
Scaling antispam solutions with Puppet
Стажировка 2016-07-27 02 Денис Нелюбин. PostgreSQL и jsonb
Top 28 programming language with hello world for artificial intelligence
Qtp wsh scripts examples
Alex Troush - IEx Cheat Sheet. Guide to Win with IEx on your Day to Day Job
使用 CLI 管理 OpenStack 平台
Docker 基本概念與指令操作
Build your own private openstack cloud
Install zpanel on linux server in 5 minutes
Devinsampa nginx-scripting
Ssh between ansible control node with that of target
IPython from 30,000 feet
Mise en place d'un client VPN l2tp IPsec sous docker
Configuration Management with Cfengine
Beyond Golden Containers: Complementing Docker with Puppet
Clojure@Nuday
Yurii Bodarev - Ecto DSL
PSR-7 and PSR-15, why can't you ignore them
2 docker engine_hands_on
 
Hunting and Exploiting Bugs in Kernel Drivers - DefCamp 2012
Ad

More from AnilKumar Etagowni (9)

PPT
Spring introduction
PPTX
Mule esb data weave multi input data
PPTX
Mule esb :Data Weave
ODP
Mule ESB SMTP Connector Integration
ODP
Box connector Mule ESB Integration
ODP
Dropbox connector Mule ESB Integration
ODP
Web service invocation in mule
ODP
Running ms sql stored procedures in mule
ODP
Fetch records from mysql using mule esb
Spring introduction
Mule esb data weave multi input data
Mule esb :Data Weave
Mule ESB SMTP Connector Integration
Box connector Mule ESB Integration
Dropbox connector Mule ESB Integration
Web service invocation in mule
Running ms sql stored procedures in mule
Fetch records from mysql using mule esb
Ad

Recently uploaded (20)

PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PDF
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
PPTX
Construction Project Organization Group 2.pptx
PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
Geodesy 1.pptx...............................................
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PDF
Well-logging-methods_new................
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
Artificial Intelligence
PPTX
Sustainable Sites - Green Building Construction
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PDF
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PDF
composite construction of structures.pdf
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Automation-in-Manufacturing-Chapter-Introduction.pdf
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
Construction Project Organization Group 2.pptx
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Operating System & Kernel Study Guide-1 - converted.pdf
Geodesy 1.pptx...............................................
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
Well-logging-methods_new................
CYBER-CRIMES AND SECURITY A guide to understanding
Artificial Intelligence
Sustainable Sites - Green Building Construction
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Foundation to blockchain - A guide to Blockchain Tech
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
composite construction of structures.pdf

Mule ESB : ssh connector

  • 1. Mule ESB: SSH Connector This Example Explains about running UNIX commands in a remote ssh enabled UNIX/LINUX machine using Mule ESB SSH Connector.
  • 2. Pre-requisites ● Anypoint Studio 5.2.0 with SSH Connector installed. ● Mule ESB Runtime 3.7.1 ● SSH enabled unix/linux machine
  • 4. CallBack Flow for SSH Connector
  • 5. SSH Connector Configuration I am running below UNIX command using SSH Connector “touch tezt.xml”
  • 7. Mule Flow Source <http:listener-config name="HTTP_Listener_Configuration" host="0.0.0.0" port="8081" doc:name="HTTP Listener Configuration"/> <ssh:config name="SSH" username="anil" password="qwerty" privateKeyFile="id_rsa" host="192.168.56.101" port="22" timeout="200" callbackFlowName="callbackflow" receiverBufferSize="1024" disableKnownHostsVerification="true" shellMode="true" doc:name="SSH"/> <flow name="testsshFlow"> <http:listener config-ref="HTTP_Listener_Configuration" path="/" doc:name="HTTP"/> <ssh:send config-ref="SSH" content="touch tezt.xml" doc:name="SSH"/> </flow> <flow name="callbackflow"> <logger message="File Copied" level="INFO" doc:name="Logger"/> </flow>
  • 8. File Created in unix Machine