Just use the cat command to log the ssh key file contents on the terminal(use your own path here). SHA256:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx key's randomart image is: Your public key has been saved in /home/user/.ssh/id_rsa.pub Your identification has been saved in /home/user/.ssh/id_rsa The output will be Generating public/private rsa key pair.Įnter file in which to save the key (/home/user/.ssh/id_rsa):Įnter passphrase (empty for no passphrase): Generate SSH key using below command ssh-keygen -trsa -C hit enter to apply the default value for all the inputs it asks If clip not found then add the next command cat ~/.ssh/id_rsa.pubįinally Result something like on your cmd ssh-rsa AAAAB3NzaC1yc2EAAAAD173Oe1kp0Ojnsn7sRWt/XT5nFH3CSTv6VWyxq4YUJ4ZykWa5opyiAJmvtjxOMCmVTuX2r1T4Livn0foHGt7+66FJXrXUQgyJ4RXanufb3bAekxbFPg3S6Gyr2kk+I3TYWcFsLLwjU0VVJwodQkpyygAUzhomx9OQ0FMpfkQa5VrZnaSLjjtNOUSAaq30e7JWYxtoVih2HfVkcmqc53QjY4T3Xb0cmLZF3EmwCeB66dgJtpTNMvM54ceD30INsaMFNqG8XjbJtGUCHYEIR5l/LI20K5F25BRTnCzRV9dB5FUJ8taVMGRHJob9PDUdxpA2HEJYilm8ZbLbRmKJtU+H91WNCG6pvy9Yf9MREkOZQHcWIuAsH8uJvTTbqm1eAY2g34FjarRdqZIpvdxkrErDHqh4k42owNEmHjSaAw53Y8M54fjBdFHTjGDqHBamlKcIzQbin/czFq1a+pgopIANDhZjWZNvMiTak7BjVrVOciKD3Pa/KKy03nSEfEGExLbFEi1Q8QEGd6idtUAjL7fyVPWatRwCnOvGLMPTk73m7t0IAYTm4n7dO0S5OeWTUPTT+8vIfFCmE9OT2aJDIpZY1+f8Q= from your cmd and go to your GitHub account Step 3: Add the SSH Key on GitHub clip < ~/.ssh/id_rsa.pub If you selected a different path than the default, be sure to replace that path in the command. Step 1: Generate Your SSH Key $ ssh-keygen -t rsa -b 4096 -C 2: Use the Key $ eval $(ssh-agent -s)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |