Saturday, January 18, 2020
Permission Denied (publickey) error when I push (GitHub)
I share solution next error:
Permission Denied (publickey)' error when I push!
Steps:
Step 1:
Search de folder .ssh, you find the folder on your user: (if the folder doesn´t exist then you need to create the folder with the command mkdir inside on your_user)
Linux: /home/my_user/.ssh
Windows: C:\Users/my_user/.ssh
Step 2: Run the next command and press enter: (Leave blank what they ask)
ssh-keygen
Step 3:
Before command generate the file id_rsa.pub, open the file by command or any editor and copy of content.
Step 4:
Go to your profile on GitHub:
Choose Settings --> SSH and GPG Keys --> New SSH Key --> Copy content from file id_rsa.pub
And try to git push again.
References:
https://gist.github.com/adamjohnson/5682757
Subscribe to:
Post Comments (Atom)
Virtual Threads in Java 21: Simplified Concurrency for Modern Applications
With Java 21, Virtual Threads have redefined how we approach concurrency, offering a lightweight and efficient way to handle parallel and ...
-
SAML V2.0 SAML version 2.0 was approved as an OASIS Standard in March 2005. Approved Errata for SAML V2.0 was last produced by the SSTC on 1...
-
Introduction In today's software landscape, designing robust and scalable REST APIs is a crucial aspect of application development. Wit...
-
Spring Boot 3 Spring boot 3 Features : Spring Boot 3.0 will require Java 17 or later Jakarta EE 9 a new top-level jakarta package, replacin...
No comments:
Post a Comment