PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Tuesday, March 15, 2022

[FIXED] How to grant another user for connecting an AMI on AWS to work on it without giving .pem file

 March 15, 2022     amazon-web-services, lamp     No comments   

Issue

I have launched a linux server on AWS, there is another developer and i want him to work on the server, but i don't want to give .pem file to him, what should i do?

he should be able to connect to server via a console and deploy files and configure on http server. when the jobs done i want to take his priviliges back.

Thanks for your interest.


Solution

You should add his public ssh key to /home/ubuntu/.ssh/authorized_keys and that's basically it.

He will be able to login via SSH using corresponding private key.

This have nothing to do with AMI though.



Answered By - Dmitry Mukhin
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing