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

Modify the information of an account

  1. Log on to the Bastionhost system. For more information, see Log on to Bastionhost.
  2. In the left-side navigation pane, click Assets > Hosts.
  3. On the Hosts page, find the target host and click the hostname.
  4. In the pane that appears, click the Host Account tab.Host Account tab
  5. Find the account whose information you want to modify and click the logon name.
  6. In the Edit Host Account pane, change the values of Logon Name and Password.Edit Host Account pane
  7. Optional: Click Verify.
    The purpose is to check whether the logon name and password are valid.
  8. Click Save.

Delete an account

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

  1. Log on to the Bastionhost system. For more information, see Log on to Bastionhost.
  2. In the left-side navigation pane, click Assets > Hosts.
  3. On the Hosts page, find the target host and click the hostname.
  4. In the pane that appears, click the Host Account tab.Host Account tab
  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.

Set a password for an account

Follow these steps to set, change, or delete a password for an account:

  1. Log on to the Bastionhost system. For more information, see Log on to Bastionhost.
  2. In the left-side navigation pane, click Assets > Hosts.
  3. On the Hosts page, find the target host and click the hostname.
  4. In the pane that appears, click the Host Account tab.Host Account tab
  5. On the Host Account tab, set, change, or delete a password.
    • Set or change a password

      Find the target account and click the logon name. In the Edit Host Account pane, enter a password.

    • Delete a password

      Find the target account and click Clear in the Password column.

Set a private key for an account

If you want to log on to a host by using a private key in SSH mode, first set a private key for the host.

  1. Log on to the Bastionhost system. For more information, see Log on to Bastionhost.
  2. In the left-side navigation pane, click Assets > Hosts.
  3. On the Hosts page, find the target host and click the hostname.
  4. In the pane that appears, click the Host Account tab.Host Account tab
  5. Find the target account and click Set in the SSH Private Key column.Set an SSH private key
  6. In the Set Private Key dialog box, enter the private key.
    Note
    • Bastionhost supports only Rivest-Shamir-Adleman (RSA) private keys generated by ssh-keygen.

      For example, you can use the ssh-keygen command 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 a local device. In this step, enter the generated private key.

    • If no encrypted password is used when the key pair is deployed on the host, leave the Encrypted Password field empty.
    Set a private key
  7. Click Save.
  8. Optional: If you want to delete the private key, click Clear in the SSH Private Key column.