Thread Rating:
  • 1 Vote(s) - 4 Average
Share Thread:
Can a EC2 Server on AWS have two pairs of SSH Keys?
#1
I have a EC2 server running on AWS. So, far it's been 6 months and the service against the price is great. But now I have to get a new pair of SSH keys for an another computer. Is it even doable? If yes then how?
i am the nation
Reply
#2
It is the file we are talking about.

Code:
/home/users/ec2-user/.ssh/authorized_keys

Now you can do two things here. Create a keypair via ssh-keygen and add the public half to the above file. Or, you can create a new user and add the key pair to the file within their user directory after that.

My suggestion to you will be create a new user for your second machine. It will be much wiser way.
Reply
[-] The following 1 user Likes elliekushn's post:
  • zeus
#3
(04-24-2023, 04:36 AM)nationwide Wrote: I have a EC2 server running on AWS. So, far it's been 6 months and the service against the price is great. But now I have to get a new pair of SSH keys for an another computer. Is it even doable? If yes then how?

Create new user just like @elliekushn suggested.

There are other methods such as giving away log in info to others and what nots including creating a new key pair. But those are not recommended.
Reply
[-] The following 1 user Likes zeus's post:
  • nationwide
#4
Tried to create a new keywpair and failed miserably. Tongue
i am the nation
Reply
#5
hi you are talking about EC2 server running on AWS, for that search on google.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)
[-]
Ad

[-]
Top Articles
100+ Social Bookmarking Sites List
55+ Image Submission Sites List

[-]
Recent Posts
Fitspresso Is it legit or Does it Really Work?
Fitspresso The average parts in FitSpresso work synergistically to assist with fatting ox...PatriciCoving — 07:51 PM
Zappify Pro Reviews-(Consumer Reports)- Is It Worth The Price? Read Za...
The size of the area where you plan to use the bug zapper is perhaps the single most cruc...getzappify2.0 — 07:05 PM
FitSpresso is a characteristic weight reduction supplement
FitSpresso is a characteristic weight reduction supplement made of cautiously organized n...JohorRoson — 06:54 PM
Google SERP Changes & Algorithm Updates - May 2024
American traffic is down for us as well. EU traffic is also down since the last 24 h...lipulili — 02:44 PM
Google SERP Changes & Algorithm Updates - May 2024
American traffic is down for us as well. EU traffic is also down since the last 24 hou...kaplan — 02:42 PM

[-]
Follow us on Facebook