Configuring remote instances - Cloud - 8.0

Talend ESB Container Administration Guide

Version
Cloud
8.0
Language
English
Product
Talend Cloud
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend ESB
Talend Runtime
Content
Administration and Monitoring
Design and Development
Installation and Upgrade
Last publication date
2024-03-13

The SSH hostname and port number of the remote console is configured in the <RuntimeContainerPath>/etc/org.apache.karaf.shell.cfg configuration file with the following defaults values:

sshPort=8101
sshHost=0.0.0.0
sshRealm=karaf
hostKey=${karaf.base}/etc/host.key

You can change this configuration using the config commands or by editing the above file, but you will need to restart the ssh console in order for it to use the new parameters.

# define helper functions
bundle-by-sn = { bm = new java.util.HashMap ; //  
   each (bundles) { $bm put ($it symbolicName) $it } ; $bm get $1 }
bundle-id-by-sn = { b = (bundle-by-sn $1) ;  //
   if { $b } { $b bundleId } { -1 } }

# edit config
config:edit org.apache.karaf.shell
config:property-set sshPort 8102
config:update 

# force a restart
bundle:restart --force (bundle-id-by-sn org.apache.karaf.shell.ssh)