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

Core 5 Security Epics in AWS Cloud

How to change Domain account logging password

Why do you need to monitor your network?