Managing credentials
Add new credentials
- On the Manage credentials page, select Add new credentials and click Next.
- On the Manage credentials page, add the details such as Credential name, tag, description.
- On the Host credentials tab, add Host username, Host password, SSH port, RSA key, and Share type.
Run the following command to ensure that the SSH connection between MDSP media server and host is working:
ssh username@remote_host_name
Run the following command to verify that it is listing the RSA key for remote scan host:
ssh-keyscan scan_host_name 2>/dev/null | grep ssh-rsa
To obtain the RSA key for the scan host, use the following command from any Linux host with SSH connectivity to scan host (this could be the scan host itself):
ssh-keyscan scan_host_name 2>/dev/null | grep ssh-rsa | awk '{print $3}' | base64 -d | sha256sum
Note:
Following host key algorithms are used to connect to scan host in the given order:
rsa-sha2-512, rsa-sha2-256, ssh-rsa
For example, the output is 33f697637ab3f0911c1d462d4bde8be3eec61a33403e8f6a88daecb415a31eef - where the RSA key is 33f697637ab3f0911c1d462d4bde8be3eec61a33403e8f6a88daecb415a31eef
Note:
Ensure that you remove the
-character from RSA key when you copy.
- For SMB share type, enter the following additional details:
Active directory domain: A domain to which storage server is connected (used to authenticate mounts on scan host).
Active directory group: A group name in active directory domain.
Active directory user: A user added in selected active directory group.
Password
- Click Save.
Add existing credentials
- On the Manage credentials page, select Select existing credentials and click Next.
- On the Select credentials tab, select the desired credential and click Save.
Validating the scan host credentials
- Once the credentials are provided for scan host on the Add malware scanner host page, search and select the Media server to enable the Validate credential button.
Note:
Only SSH credentials are validated by connecting to scan host from the selected media server. Media server must be Linux media server with NetBackup version 10.3 or above.
- On successful validation of credentials, click Save.