• Loading...
This documentation refers to a previously released version of BMC Atrium Discovery (other versions).

Configuring Login Credentials

Skip to end of metadata
Go to start of metadata
Space Search

Searching TWF 7.3

Table of Contents

The discovery system's preferred method of accessing remote hosts is by a remote login. You can set up different login credentials for use on different machines, by individual IP address or a range of addresses.

Available access methods are ssh, telnet, rlogin and windows. You can set up several access methods and define the order in which they are to be attempted. Each access method is attempted until a working credential is found or the list is exhausted.

When you enter a username and password for use by the External Credential Slave, you must prefix the username with localhost e.g. localhost\Administrator.

For each host that is successfully logged into, the successful access method is recorded. On subsequent scans the first access method attempted is the one that succeeded for that host on the previous attempt, so long as the appropriate option is selected in the Discovery Configuration page.

If an access login method is disabled, for example telnet, and that method is recorded as the last successful login method, it is tried again on a subsequent scan. If it fails on this scan then that method will not be tried again until it is re-enabled.

An access method is only attempted if it is seen to be available, for instance SSH access will only be attempted if the SSH port is open.

Viewing Login Credentials

To view existing login credentials:

  1. From the Secondary Navigation bar on the Discovery tab, click the Credentials button.
  2. The Login Credentials page is displayed.

  3. The credentials are checked in sequence, and the first matching entry is used. After a working credential is found, no more are checked. To reorder login credentials, drag the credential to the required position in the list. You can also click the Actions drop down to the right of the credential and select Move up or Move down. You can also move a credential to the top or bottom of the list by selecting Move to top or Move to bottom.

    The Credentials are shown in color coded boxes. The colors represent the level of login success achieved with that credential:
    • Green – 100% success rate.
    • Yellow – partial success.
    • Blue – the credential has never been used.
    • Red – 0% success rate.

The following information is shown for each credential:

IP Range This is the first part of the heading link for the credential. The range of IP addresses on which this credential is intended to be used. A link is also provided showing the last successful use of the credential. This links to the Discovery Access for that use.
Username This is the second part of the heading link for the credential. The username used for this credential.
Description A free text description of the credential supplied by the user who created the credential.
Usage A summary of the success rate when the credential has been used, information on failures, and links to DiscoveryAccesses, credential lists and other useful diagnostic pages.
Options Additional options used with this credential. With the exception of "No Password (use ssh key exchange)", the options are those selected from the Options section when the credential is set up. The "No Password (use ssh key exchange)" option is selected by not entering a password. For information on these, see the Options entry in the table below.
Actions A drop down menu with the following options:
Edit – Select this to edit the credential. The Edit Login Credential page is displayed. See Setting Up Host Login Credentials for information on the fields and settings available from this page.
Delete – Select this to delete the credential.
Test – Select this to test the credential. See Setting Up Host Login Credentials and Testing Existing Login Credentials from the Host Page for more information.
Move to top – moves the credential to the top of the list.
Move up – moves the credential up one position in the list.
Move down – moves the credential down one position in the list.
Move to bottom – moves the credential to the bottom of the list.

You can also add new credentials. To do this, click the Add... button. The Add Login Credential page is displayed. See To Set Up Host Login Credentials for information on the fields and settings available from this page.

To Set Up Host Login Credentials

  1. From the Login Credentials page, click Add... to add a new credential, or Edit to amend an existing one.
  2. The Add/Edit Login Credential page is displayed.

  3. You can then set up the login credentials as follows:
    Field Name Details
    IP Range Enter an IP address, a range of IP addresses, or a regular expression representing the IP addresses for which this credential is valid.
    IP address – for example, 10.10.10.3
    Range of IP addresses10.10.10.* or 10.10.1-5.* or 10.10.10.0/24
    Regular expression.* or 10.10.10.(23|25)
    Username Username used to log in to hosts identified by the key. If this is a Windows credential that will be used by the External Credential Slave, ensure you prefix the username with localhost e.g. localhost\Administrator.
    Set Password When editing a credential, the password is shown as a series of asterisks in this field and it cannot be edited. To enter a new password, select the checkbox. The password entry field is cleared. Enter the password into the password entry field; the password text is not echoed to the screen.
    To configure a credential to use SSH key exchange, leave the password field blank.
    Description A free-text description of this login credential.
    Access Methods Choose the access methods to be attempted for any host identified by the key by selecting them and moving them to the right-hand (enabled) list box using the right arrow button. By default, all access methods are placed in this box, that is, they are all enabled.
    You can also change the order in which the access methods are attempted by selecting them and moving them up or down with the up or down arrow buttons.
    Options Choose one or more options that apply to this remote login. To enable an option you must select the checkbox:
    Session Logging – select this to create a session log. These log all communication between the Foundation appliance and a host and should only be used for diagnosing discovery problems with that host. There is currently no option for recording a session log for Windows hosts.
    Prompt – a regular expression to define valid prompt characters expected.
    SU – select this checkbox to use the su command to change to the root user. Specify the root user's password in the adjacent text box. This field is not prepopulated and if left blank, the password will remain unchanged. To change the password, select the checkbox. The password entry field is cleared. Enter the password into the password entry field; the password text is not echoed to the screen.
    Buffer Size – specify a valid buffer size (any number in bytes). The default is 512 bytes.
    Timeout – specify a valid timeout period (in seconds). Note that this is for the complete session, not just credential handshaking. The default is 30 seconds.
    Force Subshell – select this to force the session to open a Bourne (/bin/sh) subshell if the default login shell is a C shell (/bin/csh /bin/tcsh). This enables you to cater for machines using non-standard shells.
    Custom SSH Port – if the host for which this credential is intended is configured to listen for SSH connections on a non-standard port, enter this here. To do this, select the Enable custom ssh port? checkbox and enter the port number in the entry field. If you add a port here, it is automatically added to the [TCP ports to use for initial scan].
  4. Click the Apply button to add the credentials, and repeat this for all the credentials you want to add.
Testing Login Credentials
  1. When you have added the credentials, you can test them. Click the test link in the Actions column. If the test link is not displayed, click the START ALL SCANS button on the Discovery Status Page. The Test Login Credential dialog is displayed.
  2. Enter a single IP in the Target IP address field to test the credentials against. In this example, 172.17.3.100.

  3. Click the Test button. The page is refreshed to show that the test in in progress and when complete, the results are shown.

You can perform other credential tests from the Credential Tests page.

Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.