Skip to content

Commit 0e27118

Browse files
committed
Remotes: keys
1 parent 77b38ca commit 0e27118

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

docs/remotes.md

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -284,31 +284,6 @@ GitHub will suggest some steps that you can take for your brand-new repository:
284284
![GitHub create new repo](../images/github-import.jpg)
285285

286286

287-
---
288-
289-
## Setting ssh-keys
290-
291-
1. ssh-keygen -t rsa -b 4096 -C "pedro@gemail.com"
292-
2. eval $(ssh-agent -s)
293-
3. ssh-add ~/.ssh/id_rsa
294-
4. clip < ~/.ssh/id_rsa.pub (it copies the ssh key that has got generated)
295-
296-
297-
---
298-
299-
5. Go to your remote repository on github.com and then **Settings** -> **SSH and GPG keys** ->new SSH key -> write a title and paste the copied SSH key and save it
300-
6. check if the key was properly set on github/bitbucket
301-
302-
```
303-
$ ssh -T git@bitbucket.org
304-
$ ssh -T git@github.com
305-
```
306-
307-
308-
---
309-
310-
![Github SSH keys](../images/git-ssh.jpg)
311-
312287
---
313288

314289
## Network visualization

0 commit comments

Comments
 (0)