create new ssh key code example
Example 1: how to generate ssh key
$ ssh-keygen -t rsa -b 4096 -C "[email protected]"
Example 2: gen ssh key
ssh-keygen -t rsa -b 4096
Example 3: ubuntu generate ssh key
ssh-keygen -t rsa -C "[email protected]"
Example 4: ssh add new key
$ eval "$(ssh-agent -s)"
> Agent pid 59566
Example 5: how to generate ssh key in linux
ssh-keygen -t rsa -b 4096
ssh-keygen -t dsa
ssh-keygen -t ecdsa -b 521
ssh-keygen -t ed25519
Example 6: how to generate ssh key
$ ssh-keygen -t ed25519 -C "[email protected]"