Skip to content

Instantly share code, notes, and snippets.

View felipe2g's full-sized avatar
🔥
Coding!

Felipe Guimarães felipe2g

🔥
Coding!
  • Uberlândia, Minas Gerais
View GitHub Profile
@felipe2g
felipe2g / ssh.txt
Last active August 11, 2023 02:56
1º passo: Crie a chave ssh.
ssh-keygen -t rsa -b 4096 -C "meu-email@email.com.br"
2º passo: Copie o conteúdo da chave.
cat ~/.ssh/id_rsa.pub
3º passo: Adicione a chave ao seu git.
Github: Profile > Settings > SSH and GPG keys > New SSH key
Gitlab: Profile > Settings > SSH Keys
sudo apt-get install zsh
zsh --version
sudo apt-get install curl
sudo add-apt-repository ppa:git-core/ppa ; sudo apt update ; sudo apt-get install git
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"