When i am doing the lab to deploy application
While trying to ssh in web it is asking for password but can’t find the password.
Can you please help, where i can get the password?
If you’re on a “bob” user, it’s probably “caleston123”, but that’s just a guess. To be sure, I’d need to know which lab. A lab link would be very helpful for that. Thanks!
You don’t need one: ssh is configured on the web server so you don’t need a password; and you can use sudo -i to become root on either server.
As I said: thor@web is configured for ssh. thor@db is NOT. So you need to exit thor@db to do ssh w/o a password.
Ohh now i got it, thanks for helping
If SSH asks for a password but you can’t find it, try:
Check default credentials (AWS: ec2-user, ubuntu, or root).
Use the correct SSH key(ssh -i /path/to/key.pem user@server-ip).
Verify key permissions(chmod 400 key.pem).
Check cloud console for login details.
Reset/add SSH key via the cloud provider if lost.
