How to generate sshkey for EC2 Linux Instance

 

If you are managing hundreds of EC2 Linux servers where you need to take ssh frequently so this is very difficult to enter machines login ssh password every time. So below solution will help you to resolve this issue.

Commands- login to your main server and follow the step below.

1.ssh-keygen

2. ls -a

3. id_rsa.pub (this is key which need to copy to your destination server)

4. ssh-copy-id <destination host- admin@192.168.*.*>



Comments

Popular posts from this blog

How to upload bulk Email alias in Google Workspace

Deploying App through AWS EKS by using ingress and fargate

How to save git token key to avoid again and again put manually