Skip to content

Instantly share code, notes, and snippets.

@serrasqueiro
Last active October 29, 2025 17:24
Show Gist options
  • Select an option

  • Save serrasqueiro/7c609f6ee0496436653d5be9b5139b09 to your computer and use it in GitHub Desktop.

Select an option

Save serrasqueiro/7c609f6ee0496436653d5be9b5139b09 to your computer and use it in GitHub Desktop.
hints for avoiding SSH warnings

Hints to avoid SSH warnings at the ssh client

# C:\repos\my-aggregate-repo>git pull
# ** WARNING: connection is not using a post-quantum key exchange algorithm.
# ** This session may be vulnerable to "store now, decrypt later" attacks.
# ** The server may need to be upgraded. See https://openssh.com/pq.html

Windows,

  • change SSH config:
    • notepad %USERPROFILE%\.ssh\config
    • and add the following (see below)
Host github.com
    KexAlgorithms  curve25519-sha256
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment