pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://docs.github.com/pt/authentication/connecting-to-github-with-ssh/testing-your-ssh-connection

atest" data-next-head=""/>
Skip to main content

Testar a conexão SSH

Após configurar sua chave SSH e adicioná-la ao GitHub, você poderá testar sua conexão.

Platform navigation

Antes de testar sua conexão SSH, você já deverá ter:

  • Verificado se há chaves SSH existentes
  • Gerado uma nova chave SSH
  •         [ Adicionada uma nova chave SSH à sua conta GitHub](/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account)
    

Você precisará autenticar esta ação usando sua senha, que é a senha da chave SSH que você criou anteriormente. Consulte AUTOTITLE

  1. Abra TerminalTerminalGit Bash.

  2. Insira o seguinte:

    Shell
    ssh -T git@github.com
    # Attempts to ssh to GitHub
    

    Você poderá receber um aviso como este:

    > The authenticity of host 'github.com (IP ADDRESS)' can't be established.
    > ED25519 key fingerprint is SHA256:+DiY3wvvV6TuJJhbpZisF/zLDA0zPMSvHdkr4UvCOqU.
    > Are you sure you want to continue connecting (yes/no)?
    
  3. Verifique se a impressão digital na mensagem que você vê corresponde à impressão digital de chave pública do GitHub. Se isso acontecer, digite :

    > Hi USERNAME! You've successfully authenticated, but GitHub does not
    > provide shell access.
    

    Você verá esta mensagem de erro:

    ...
    Agent admitted failure to sign using the key.
    debug1: No more authentication methods to try.
    Permission denied (publickey).
    

    Esse é um problema conhecido com determinadas distribuições Linux. Para saber mais, confira AUTOTITLE.

    Observação

    O comando remoto deve terminar com o código 1.

  4. Verifique se a mensagem resultante contém seu nome de usuário. Se você receber uma mensagem de "permissão negada", confira AUTOTITLE.

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy