Configuring the SCP adapter
In addition to targets defined in the adapter configuration, the SCP adapter can have a dynamic target defined in each adapter request. If a dynamic target is always defined in the SCP adapter request, a configuration node, <config/> can be used in the adapter configuration.
Adapter type: ro-adapter-scp[version]
Default adapter name: SCPAdapter
To configure the SCP adapter, see Configuring base adapters.
The following table describes the adapter configuration elements for the SCP adapter that you can specify by using the form view, XML view, or both. You cannot use the form view to configure elements and attributes that do not have an entry in the "UI label" column.
Configuration node elements for the SCP adapter
The following figure shows the adapter configuration template for the SCP adapter.
XML template of the SCP adapter configuration
<configs>
<config name="">
<target></target>
<port></port>
<user-name></user-name>
<password encryption-type=""></password>
<verify-os>false</verify-os>
<timeout-secs></timeout-secs>
<known-hosts-config></known-hosts-config>
<allow-unknown-hosts></allow-unknown-hosts>
<preferred-pk-algorithm></preferred-pk-algorithm>
<establish-connection-timeout-secs></establish-connection-timeout-secs>
<network-environment></network-environment>
</config>
<config name="">
<target></target>
<port></port>
<user-name></user-name>
<verify-os>false</verify-os>
<private-key-file></private-key-file>
<pass-phrase encryption-type=""></pass-phrase>
<timeout-secs></timeout-secs>
<known-hosts-config></known-hosts-config>
<allow-unknown-hosts></allow-unknown-hosts>
<preferred-pk-algorithm></preferred-pk-algorithm>
<establish-connection-timeout-secs></establish-connection-timeout-secs>
<network-environment></network-environment>
</config>
</configs>
The following figure shows an XML sample for the SCP adapter configuration with an IPv6 target address.
XML sample of the SCP adapter configuration with an IPv6 target address
<config name="host1">
<target>fe80::20c:29ff:fe5d:38f0%eth0</target>
<port/>
<user-name>asdf</user-name>
<password encryption-type="Plain">pass</password>
<verify-os>false</verify-os>
<timeout-secs>60</timeout-secs>
<known-hosts-config>/home/user2/.ssh/known_hosts</known-hosts-config>
<allow-unknown-hosts>true</allow-unknown-hosts>
<preferred-pk-algorithm>ssh-rsa</preferred-pk-algorithm>
<establish-connection-timeout-secs />
</config>