AWS Amazon - I changed the default Ubuntu user folder

Asked

Viewed 31 times

0

After changing the default folder of the Ubuntu user, I can no longer login, because the private key is not found. What to do?

2 answers

0

The private key is the one in your possession, when you try to access:

ssh -i ~/privateKey.pem [email protected]

The public key is in the . ssh folder inside your user’s home folder, type:

/home/usuario/.ssh/

have to check if the changes made did not compromise this folder or even if you ended up creating another home for your user and did not copy the keys contained in the folder cited to the folder. ssh of this new home.

0


The solution I found was to make a copy of the camera image and upload the copy. With this, I was able to access the copy and work from it. The original machine was no longer accessed at all and I had to kill it.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.