find my ssh public key ubuntu code example
Example 1: ssh get key
cat ~/.ssh/id_ed25519.pub
Example 2: ubuntu add public key to server
ssh-copy-id -i ~/.ssh/id_rsa.pub user@server
cat ~/.ssh/id_ed25519.pub
ssh-copy-id -i ~/.ssh/id_rsa.pub user@server