ssh-key-login-not-working
Differences
This shows you the differences between two versions of the page.
ssh-key-login-not-working [2021/09/20 17:33] – created baumi | ssh-key-login-not-working [2022/05/02 09:23] (current) – baumi | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Things to check, if SSH key login is not working ====== | ====== Things to check, if SSH key login is not working ====== | ||
+ | ===== Permission issues ===== | ||
- authorized_keys contains correct public key | - authorized_keys contains correct public key | ||
- authorized_keys file has permisions 600 | - authorized_keys file has permisions 600 | ||
- .ssh directory has permissions 755 or more restrictive | - .ssh directory has permissions 755 or more restrictive | ||
+ | |||
+ | ===== Key Exchange Issues ===== | ||
+ | |||
+ | - Newer versions of openssh do no longer accept ssh-rsa as public key algorithm | ||
+ | - To diagnose add " | ||
+ | - / | ||
+ | userauth_pubkey: | ||
+ | </ | ||
+ | - Workaround: add " | ||
+ | - Fix: Regenerate your public/ | ||
{{tag>kb ssh}} | {{tag>kb ssh}} | ||
ssh-key-login-not-working.1632152038.txt.gz · Last modified: by baumi