Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: 'Jump host' example added

...

Note that the log files neither indicate that a credential store has been use for the transfer nor reveal any passwords. 

Anchor
download
download
Download the Example

A download is available containing a full XML configuration file for Windows users and .kdbx database: jade_demo.zip.

Windows users with the necessary permissions will be able to use these files by unpacking the zip file to a jade_demo folder in their User directory.

...

Note that custom parameters can only be used to set parameters in ProtocolFragments - they cannot be used to set ProfileFragments parameters such as Recursive. Show If

useraa

Anchor
jitl-dmz
jitl-dmz
Using the Credential Store for file transfer via a jump host

The use of the Credential Store for file transfer across a DMZ - i.e. using a jump host - is described in this section. As with the "normal" file transfer described previously, the one XML configuration file can be either used together with the YADE Client or with a JobScheduler JITL job - in this case the JADE4DMZjob.

The Example

This example configuration will download a file from an on-line server, japan.sos-berlin.com, provided by the SOS GmbH. The file will be transferred to the user's local file system. The SFTP server on uk.sos-berlin.com, which was used for the example above, will be used as the jump host.

Note that as for all jump host transfers the connection to the jump host has to use SFTP but the connection from the jump host to the target server can use any of the protocols supported by YADE.

Status
title< Add Link

Download and implement the example

The example XML configuration file is contained in the jade_demo file linked in the Download section of this article above.

The jump host transfer configuration is contained in the jump_host_cs.xml file.

The example uses the same Credential Store as the first example described in this article.

Paths in the configuration are currently set - for a Windows environment - to:

  • C:\Users\myUserName\jade_demo\...

Users will need to modify these paths to suit their own needs after unpacking the download and before running the example.

The XML configuration

The full XML configuration as shown in the XML Editor is shown in the next screenshot.

The most important difference between this example and the first example described in this article are:

  • The Jump protocol fragment which contains a JumpCommand element.
  • The references to the CredentialStoreFragment (highlighted in purple in the screenshot),which are contained in the jump and the target - i.e. SFTP - fragments.
    Seperate Credential Stores could be defined here for the jump and target fragments.to provide an increased level of security if required.
  • The paths in the AuthenticationFile fragments refer to the file system and not the Credential Store. This feature has not been implemented in the current version (1.12.2).

Image Added

Using the YADE Client to call the jump host example

The jump host example can be called with the YADE Client using the following command:

Code Block
languagexml
titleCall on Windows systems
C:\Program Files\sos-berlin.com\jade\client\bin>jade.cmd -settings="C:\Users\myUserName\jade_demo\jump_host_cs.xml" -profile="jump_japan_uk_2_local_copy_cs"

Note that the path shown for the -settings parameter in the above code block has to be adapted to the user's environment before the example is run.

Using the JADE 4 DMZ JITL job to call the jump host example

The JADE4DMZjob JITL job is used for file transfer via a jump host. This job takes the same settings and profile parameters as the YADE Client. These are set in the same way as the parameters with the same names used for the JADEjob shown above.

See Also

...