obtain private key of ssh user code example
Example 1: generate ssh key paitr
$ ssh-keygen -t rsa -b 4096 -C "[email protected]"
Example 2: ssh get key
cat ~/.ssh/id_ed25519.pub
$ ssh-keygen -t rsa -b 4096 -C "[email protected]"
cat ~/.ssh/id_ed25519.pub