linux - Is the AWS ec2 private key specific to a user in the ec2 instance -


i have ec2 instance. have private putty key. logging in root user. created new user, unable login directly new user using putty key. putty key specific instance user. please help.

yes. need add public key user authorized_keys file in order use key user.

your putty key have public portion stored on server want access. if works root user, in authorized_keys file root user. find file here /root/.ssh/authorized_keys. file in /home/username/.ssh/authorized_keys other users. if not there can create it, pay attention permissions.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -