This topic describes how to configure PSM for SSH syntax delimiters.
Default delimiters
The PSM for SSH command includes two different delimiters, one for separating the required parameters (which is ‘@’ by default) and another one for separating the optional parameters (which is '#' by default).
You can change these default delimiters, which allows the following usages:
|
■
|
Connections with domain user names that include @ as part of their name. To allow this, configure PSM for SSH to use a delimiter other than @ to separate the required parameters. |
|
You cannot use PSM for SSH prompts to connect through PSM for SSH with a domain user name, and you must specify all the parameters in the command line.
|
|
■
|
Use of optional parameters when copying files securely through PSM for SSH with SCP syntax (since in SCP syntax, ‘#’ (hash) cannot be used as a delimiter). To allow this, configure the PSM for SSH to use a delimiter other than # to separate the optional parameters. |
|
When using a delimiter other than ‘@’ to separate the required parameters, the delimiter before the ‘proxyaddress’ parameter must be ‘@’ and must not be replaced.
|
Add delimiters
You can add additional delimiters to separate required parameters in the PSM for SSH command by adding the PSMP_AdditionalDelimiter parameter to the sshd_config configuration file. When PSM for SSH detects the specified delimiter in the PSM for SSH command, it is used to parse the command, otherwise the default delimiter (@) is used.
Add additional delimiters
|
1.
|
In the /etc/ssh directory, open the sshd_config configuration file for editing. |
|
2.
|
Add the following parameter to the file: |
|
PSMP_AdditionalDelimiter <delimiter>
|
The following example shows how to enable users to specify % as a delimiter character in addition to @.
|
PSMP_AdditionalDelimiter %
|
|
3.
|
Save the changes and close the sshd_config configuration file. |
|
4.
|
Restart the sshd service for these changes to take affect: |
|
You cannot use the same delimiter for both required and optional parameters.
|
You can replace the delimiter that separates optional parameters in the PSM for SSH command by adding the PSMP_TargetAddressPortAdditionalDelimiter parameter to the sshd_config configuration file. When PSM for SSH detects the specified delimiter in the PSM for SSH command, it is used instead of the default delimiter (#).
Replace PSM for SSH delimiters that separate optional parameters
|
1.
|
In the /etc/ssh directory, open the sshd_config configuration file for editing. |
|
2.
|
Add the following parameter to the file: |
|
PSMP_TargetAddressPortAdditionalDelimiter <delimiter>
|
The following example shows how to enable users to specify % as a delimiter character instead of #.
|
PSMP_TargetAddressPortAdditionalDelimiter %
|
|
3.
|
Save the changes and close the sshd_config configuration file. |
|
4.
|
Restart the sshd service for these changes to take affect: |
|
You cannot use the same delimiter for both required and optional parameters.
|