-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsshwin10github.sh
34 lines (18 loc) · 957 Bytes
/
sshwin10github.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#1-Instalar o o git com este comando
`apt-get install git`
#2-Entrar na pasta onde está instalado o git
`cd .ssh`
#
#3-Gerar chave
`ssh-keygen -t rsa -b 4096 -C "[email protected]"`
#4-Vai pedir parametros só dar Nome da chave e senha e repetir senha
#
#5-Tem que executar no git esse comando
`eval "$(ssh-agent -s)"`
#
#6-add chave
`ssh-add id_rsa`
#
#7- abrir chave e copiar e colar no github
#
#