You can create public key in Ubuntu using below command:
keygen-ssh -t rsa
Keep pressing Enter whenever it asks for Input.
Using Public key:
1. go to .ssh folder
$cd .ssh
2. open id_rsa.pub file using vim and copy it.
$vi id_rsa.pub
keygen-ssh -t rsa
Keep pressing Enter whenever it asks for Input.
Using Public key:
1. go to .ssh folder
$cd .ssh
2. open id_rsa.pub file using vim and copy it.
$vi id_rsa.pub
No comments:
Post a Comment