Connecting to a Target using a Second Account

To connect to a target using a separate account:

  1. Navigate to an SSH secret (e.g. Account1), that has the Launchers section and a PuTTY launcher available.

  2. Specify another secret (e.g Account2) as the Connect As secret that you wish to connect as in the PuTTY Launcher.

  3. Click the Launch button, and "Account2" logs in.

  4. Secret Server will run this command as "Account2" automatically: su - Account1

  5. The SSH session will prompt for a password, which Secret Server will also populate automatically.

"Account2" then becomes "Account1" and from that point on you are logged in as "Account1".