After you create an account for a host in Bastionhost, you can modify the settings of the account, delete the account, and configure a password or private key for the account. This topic describes how to configure account settings for a host.

Modify the information about an account

  1. Log on to your bastion host. For more information, see Log on to Bastionhost.
  2. In the left-side navigation pane, choose Assets > Hosts.
  3. On the Hosts page, find the host whose account settings you want to modify and click the name of the host.
  4. In the panel that appears, click the Host Account tab. Host Account
  5. Find the account whose settings you want to modify and click the logon name.
  6. In the Edit Host Account panel, change the values of Logon Name and Password. Edit Host Account
  7. Optional:Click Verify.
    The purpose is to check whether the logon name and password are valid.
    Note When you create an account for multiple hosts at a time, you do not need to perform the verification.
  8. Click Save.

Delete an account

If you no longer need to use an account for a host, perform the following steps to delete the account:

  1. Log on to your bastion host. For more information, see Log on to Bastionhost.
  2. In the left-side navigation pane, choose Assets > Hosts.
  3. On the Hosts page, find the host whose account you want to delete and click the name of the host.
  4. In the panel that appears, click the Host Account tab. Host Account
  5. Select the account that you want to delete and click Delete in the lower-left corner. Delete an account
  6. In the message that appears, click Delete.

Configure a password for an account

You can perform the following operations to create, change, or delete a password for an account on the Host Account tab:

  1. Log on to your bastion host. For more information, see Log on to Bastionhost.
  2. In the left-side navigation pane, choose Assets > Hosts.
  3. On the Hosts page, find the host for which you want to configure a password and click the name of the host.
  4. In the panel that appears, click the Host Account tab. Host Account
  5. On the Host Account tab, create, change, or delete a password for the host.
    • Create or change a password

      Find the account for which you want to create or change a password and click the logon name. In the Edit Host Account panel, enter a password.

    • Delete a password

      Find the account whose password you want to delete and click Clear in the Password column.

Configure a private key for an account

If you want to log on to a host over SSH by using a private key, you can perform the following steps to configure a private key for the host.

  1. Log on to your bastion host. For more information, see Log on to Bastionhost.
  2. In the left-side navigation pane, choose Assets > Hosts.
  3. On the Hosts page, find the host for which you want to configure a private key and click the name of the host.
  4. In the panel that appears, click the Host Account tab. Host Account
  5. Find the account for which you want to configure a private key and click Set in the SSH Key column. Configure an SSH private key
  6. In the Set Key dialog box, enter the private key.
    Note
    • Bastionhost supports only Rivest-Shamir-Adleman (RSA) private keys that are generated by using the ssh-keygen utility.

      For example, you can use the ssh-keygen utility to generate a public key and a private key for a host that runs Linux. The public key is stored in the directory for the host, and the private key is exported to your computer. In this step, enter the generated private key.

    • If password-free logon is enabled for the host, leave the Encrypted Password field empty.
    Configure a private key
  7. Click Save.
  8. Optional:If you want to delete the private key, click Clear in the SSH Key column.