ls -l ~/.ssh/id_*.pub
ssh-keygen -t ed25519 -C "[email protected]"
eval "$(ssh-agent -s)"p
ssh-add ~/.ssh/id_edch
cat ~/.ssh/id_ed25519.pub
## Genarate
ssh-keygen -t rsa -b 2048 -C "[email protected]"
ssh-keygen -t rsa -b 2048 -C "[email protected]"
## Config
nano /home/matin/.ssh/config
## Add for SSH-aws:ssh aws.com
Host aws.com
HostName ip.136.241.xx
User matin
IdentityFile ~/.ssh/id_rsa
ssh-keygen -o -f ~/.ssh/id_rsa
chmod 400 ~/.ssh/id_rsa
cat ~/.ssh/id_rsa.pub