- Verifique se já possui chave gerada com
cat ~/.ssh/id_rsa.pub
- Caso não possua, crie uma com
ssh-keygen -t rsa
- Execute o comando abaixo, para enviar sua RSA key para o servidor.
cat ~/.ssh/id_rsa.pub | ssh user@hostname 'cat >> .ssh/authorized_keys'
Created
March 31, 2016 14:58
-
-
Save romuloctba/13f12589981eab5d5488d07840cd53e8 to your computer and use it in GitHub Desktop.
Add RSA key to SSH Server
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment