Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • 4
    ubuntu doc in it: help.ubuntu.com/community/SSH/OpenSSH/Keys#Troubleshooting Commented Mar 12, 2014 at 7:32
  • 4
    This answer is a salient one & helped me - for anyone wondering if this is the issue - you may see "pam_ecryptfs: Passphrase file wrapped" in your auth.log; somehow that wasn't enough to prompt me to remember the homedir was encrypted. Also you may find first logon asks for a passwords, subsequent sessions don't (since it's decrypted whilst the other sessions open). Commented Jun 20, 2014 at 8:21
  • 1
    Holy crap I've searched wayyyy to long to resolve that issue, tank you so much ! Commented Feb 13, 2015 at 17:33
  • WRONG... Don't give inaccurate or bad advice. It's not nice. Why do you hate people looking for help? kali@kali2:~/.ssh$ ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 [email protected] /home/kali/.ssh/config: line 4: Bad configuration option: authorizedkeysfile /home/kali/.ssh/config: terminating, 1 bad configuration options Commented Jul 11, 2020 at 16:23
  • 1
    @ZackA don't be so angry, mate, you put that config in the wrong file. The AuthorizedKeysFile has to go in the file in your ssh server side config. In an Ubuntu server, I have in a pickyourownname.conf file inside the /etc/ssh/ssh_config.d/ directory. Commented Jun 23, 2021 at 19:57