https://login.veeam.com/en/oauth?client_id=nXojRrypJ8&redirect_uri=https%3A%2F%2Fwww.veeam.com%2Fservices%2Fauthentication%2Fredirect_url&response_type=code&scope=profile&state=eyJmaW5hbFJlZGlyZWN0TG9jYXRpb24iOiJodHRwczovL3d3dy52ZWVhbS5jb20va2IzMDMwIiwiaGFzaCI6ImZkZDFmOWQ0LWNlNDEtNDFjZS1hMjM2LTRiZmE5ODlmZWIyNyJ9
1-800-691-1991 | 9am - 8pm ET
EN

How to Reset Password in Veeam Backup for AWS

Challenge

You may need to reset a password in Veeam Backup for AWS.

Solution

Make sure that the machine you are using for troubleshooting is in the list of allowed IP addresses in the Security Groups of your Veeam Backup for AWS server, then connect to the Veeam Backup for AWS server by the ssh client using the private key you have specified when deploying the server.

NOTE: You can find the name of the key in the Key pair name property located on the Description tab of your EC2 Instance. Consider checking the Lost private key file section below if you lost the private key.

To reset a password, you can use either a Linux or Windows desktop:
  • To connect to the Veeam Backup for AWS server from a Linux desktop, run the following command and enter Yes to connect to the specified server.
> ssh -i private_key.pem ubuntu@<DNS name or IP address of Veeam Backup for AWS server>
Once a connection is established, run the following command and enter a new password.
> sudo passwd <your username>
If you forgot the username, run the following command:
> sudo cat /etc/group | grep VEEAM_ADMINS
To finish the session, enter the following command.
> exit

More information

According to security practices of AWS EC2, you are allowed to download the private security key only once — that is, only after it has been created in EC2 Services / Network & security / Key Pairs. If such a key is lost, you will not be able to connect to the Veeam Backup for AWS server by SSH.

For more information on how to reset a key for the Veeam Backup for AWS Server EC2 Instance, see the Replace a Lost SSH Key Pair article.

 
KB ID:
3030
Product:
Veeam Backup for AWS
Version:
Any
Published:
2019-12-02
Last Modified:
2020-08-13
Please rate how helpful this article was to you:
5 out of 5 based on 1 ratings
Thank you for helping us improve!
An error occurred during voting. Please try again later.

Couldn't find what you were looking for?

Below you can submit an idea for a new knowledge base article.
Report a typo on this page:

Please select a spelling error or a typo on this page with your mouse and press CTRL + Enter to report this mistake to us. Thank you!

Spelling error in text

Knowledge base content request
By submitting, you agree that your personal data will be managed by Veeam in accordance with the Privacy Policy.

ty icon

Thank you!

We have received your request and our team will reach out to you shortly.

OK

error icon

Oops! Something went wrong.

Please go back try again later.