SSH Key is a standart component used for secure remote shell session through less secure network using various cryptography techniques.
Here's how to generate it from VPS easily.
- Login to your VPS.
- Run
ssh-keygen
and enter until end. - Check if
id_rsa
andid_rsa.pub
on~/.ssh
is created. - Run
ssh-agent /bin/bash
- Run
ssh-add ~/.ssh/id_rsa
- Last thing to do, get ssh key that was created. Run
cat ~/.ssh/id_rsa.pub
SSH Key was generated! You can use it on any apps that needs it.
One Run Command
ssh-keygen
ssh-agent /bin/bash
ssh-add ~/.ssh/id_rsa
cat ~/.ssh/id_rsa.pub
Top comments (0)