Follow this procedure to set up an SSH server (Beta) as a target system.
Prerequisites
You have credentials for a tenant in SAP Business Technology Platform. For more information, see: Accounts
(Optional) You have installed the Cloud Connector in your corporate environment and have done the initial configuration. You need this only when your SSH server resides in a remote system, outside your Neo environment. For more information, see Cloud Connector.
Context
SSH Server is a system (connector) in beta state. It helps you execute bash scripts through SSH connection. The configuration allows you to attach separate scripts per entity lifecycle callback (such as user create, group create/update, and so on). This system helps you connect to remote machines via SSH tunnel, with or without use of the Cloud Connector, depending on whether the SSH port is visible or not.
The bash scripts can take as parameters fields that are coming from the entity JSON data. For example: sudo su - vcap /home/myscript.sh $.userName $.email
Add SSH Server (Beta) as a target system. For more information, see Add New Systems.
Choose the Properties tab to configure the connection settings for your system.
Below are listed all available SSH Server properties. Some of them can be mandatory and others – optional, depending on your scenario.
Mandatory Properties
Property Name
Description & Value
ProxyType
Possible values:
Internet – if the SSH port is visible in your Neo environment
OnPremise – if the SSH port is not directly accessible, and you have to use the Cloud Connector. You have to configure TCP protocol connection to the SSH host and port (specify the configuration properties ssh.host and ssh.port).
CloudConnectorLocationId
Relevant when the proxy type is OnPremise. Use it only if your SAP Business Technology Platform account uses more than one Cloud Connector.
ssh.create.user.command
Path to the bash command you need to execute to create a user.
ssh.update.user.command
Path to the bash command you need to execute to update a user.
ssh.delete.user.command
Path to the bash command you need to execute to delete a user.
ssh.create.group.command
Path to the bash command you need to execute to create a group.
ssh.update.group.command
Path to the bash command you need to execute to update a group.
ssh.delete.group.command
Path to the bash command you need to execute to delete a group.
ssh.create.user.command.exit.code.already.exists
Integer number (code). It's generated by the "create user" command when the provisioning job tries to create a user that already exists in the target system.
ssh.update.user.command.exit.code.not.found
Integer number (code). It's generated by the "update user" command when the provisioning job tries to update a user that is missing from the target system.
ssh.delete.user.command.exit.code.not.found
Integer number (code). It's generated by the "delete user" command when the provisioning job tries to delete a user that is missing from the target system.
ssh.create.group.command.exit.code.already.exists
Integer number (code). It's generated by the "create group" command when the provisioning job tries to create a group that already exists in the target system.
ssh.update.group.command.exit.code.not.found
Integer number (code). It's generated by the "update group" command when the provisioning job tries to update a group that is missing from the target system.
ssh.delete.group.command.exit.code.not.found
Integer number (code). It's generated by the "delete group" command when the provisioning job tries to delete a group that is missing from the target system.
ssh.auth.type
Supported SSH authentication types:
key
pwd
otp
key+otp
key+pwd
pwd+otp
key+pwd+otp
ssh.host
ssh.port
22
ssh.username
ssh.password
(Credential) Taken into account only if the authentication type includes pwd. That means any of the following:
ssh.auth.type = pwd
ssh.auth.type = pwd+otp
ssh.auth.type = key+pwd
ssh.auth.type = key+pwd+otp
ssh.totp.secret.key
(Credential) Taken into account only if the authentication type includes otp. That means any of the following:
ssh.auth.type = otp
ssh.auth.type = key+otp
ssh.auth.type = pwd+otp
ssh.auth.type = key+pwd+otp
ssh.private.key.type
The type of SSH private key. Possible values:
ssh-rsa
ssh-dsa
Default value: ssh-rsa
ssh.private.key
(Credential) Taken into account only if the authentication type includes key. That means any of the following:
ssh.auth.type = key
ssh.auth.type = key+pwd
ssh.auth.type = key+otp
ssh.auth.type = key+pwd+otp
(Optional) ips.delete.threshold.groups
Use this property to control the number of groups to be deleted in a target system by defining a threshold. This will prevent you from accidentally deleting a huge number of groups, for example by adding a filter or condition.
Use this property to control the number of users to be deleted in a target system by defining a threshold. This will prevent you from accidentally deleting a huge number of users, for example by adding a filter or condition.
To learn what additional properties are relevant to this system, see List of Properties. You can use the main search, or filter properties by the Name or System Type columns.
(Optional) Configure the transformations.
Transformations are used to map the user attributes from the data model of the source system to the data model of the target system, and the other way around. The Identity Provisioning offers a default transformation for the SSH Server (Beta) target system, whose settings are displayed under the Transformations tab after saving its initial configuration.
You can change the default transformation mapping rules to reflect your current setup of entities in your SSH server. For more information, see Manage Transformations.
Default transformation:
Now, add a source system from which to read users. Choose from: Source Systems
Next Steps
Before starting a provisioning job, you can first subscribe for e-mail notifications from the source system you use in your scenario. This way, you will be notified by e-mail about eventual failed entities during the jobs. For more information, see Manage Job Notifications.