generate public ssh key ubuntu code example
Example 1: how to generate ssh key in ubuntu
ssh-keygen -t rsa 4056
Example 2: ubuntu add public key to server
ssh-copy-id -i ~/.ssh/id_rsa.pub user@server
ssh-keygen -t rsa 4056
ssh-copy-id -i ~/.ssh/id_rsa.pub user@server