Challenge
You may need to reset password in Veeam Backup for AWS.Solution
1. Make sure that the machine you are using for troubleshooting from is in the list of allowed IP addresses in the Security Groups of your Veeam Backup for AWS Server.2. Connect to the Veeam Backup for AWS Server by ssh client using private key you specified while deploying the server.
NOTE: You can find out the name of the key in Description tab of your EC2 Instance in "Key pair name" property. Please check 'Lost private key file' section below if you lost private key file.
- From Linux desktop
1. To connect from Linux machine use
> ssh -i private_key.pem ubuntu@<DNS name or IP adderss of Veeam Backup for AWS server>
2. Agree on connecting to the server by typing 'yes' for the question about fingerprint
- From Windows desktop please follow procedure Connecting to Your Linux Instance from Windows Using PuTTY
> sudo passwd
Type your new password and repeat it once again as prompts are asking you.
If you forgot the name of your user please run command:
> sudo cat /etc/passwd
You will see list of all usernames existed on the Veeam Backup for AWS server, usually your username will be close to the end of the list
4. Finish the password rest session by typing:
> exit
More Information
By high security practices of AWS EC2 you are allowed to download the private security key only once at the moment you are creating the Key Pair (in EC2 Services / Network & security / Key Pairs)So once the key file is lost you cannot connect to your Veeam Backup for AWS Server by SSH.
To reset the key for your Veeam Backup for AWS Server EC2 Instance please follow the steps from the [Replace a Lost SSH Key Pair](https://aws.amazon.com/premiumsupport/knowledge-center/user-data-replace-key-pair-ec2/) article