Skip to content

Instantly share code, notes, and snippets.

@bat9r
Created January 25, 2019 10:56
Show Gist options
  • Save bat9r/8a181f0e19a11b32c6d6b38aa2d8a9f2 to your computer and use it in GitHub Desktop.
Save bat9r/8a181f0e19a11b32c6d6b38aa2d8a9f2 to your computer and use it in GitHub Desktop.
acs_kubernetes-get-credentials_FAIL

Login into your Kubernetes master and add this /etc/ssh/sshd_config

KexAlgorithms curve25519-sha256@libssh.org,diffie-hellman-group1-sha1
Ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr
MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha1,hmac-md5,hmac-sha1-96,hmac-md5-96

After it restart ssh

systemctl restart ssh
systemctl restart sshd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment