Connection strings

In addition to the formats described in Saving connection profiles, a new field may be prepended to the connection string to indicate whether you need shell access or file access. Adding the type of access to the connection string is useful in scripts to skip the following interactive prompt:

Do you need ssh shell access or file transfer access?

For domain accounts, the format is:

accesstype@domainUser@domainName@hostname@user

For local accounts, omit the domainName, as in:

accesstype@localUser@@hostname@user

 

SSH connection strings

You can use an SSH client connection string to connect.

ssh user@targetHostname@loginAccount@connectorHostname

The connection string consists of:

  • User: Local account of the target machine (user@targetHostname)
  • Centrify PAS Cloud username (loginAccount)
  • Connector hostname: (connectorHostname)

Note:   If the target hostname or account isn't specified, you will be prompted for this information.

For example:

ssh myuser@111.111.111.111@pasclouduser@email.com@222.222.222.22

This will generate a password prompt and any other required authentication prompts.