-
-
Save MaatheusGois/3c8f9bc6fc41e9b2b47fca36d91d6984 to your computer and use it in GitHub Desktop.
Comandos
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1* Comando: | |
eval `ssh-agent -s` | |
2* Comando: | |
ssh-add ~/.ssh/nomeDaChave.pem | |
3* Comando: | |
openssl rsa -in ~/.ssh/nomeDaChave.pem -pubout -out ~/.ssh/nomeDaChave.pub | |
4* Comando: | |
cat ~/.ssh/nomeDaChame.pub >> ~/.ssh/authorized_keys | |
5* Comando: | |
sudo nano /etc/hosts | |
control+X : Sair | |
Y : Salvar | |
Enter : Subscrever |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment