janmojzis / tinyssh

TinySSH is small server (less than 100000 words of code)
Creative Commons Zero v1.0 Universal
1.44k stars 79 forks source link

fix path logged when authorized_keys cannot be open/read #45

Closed blin00 closed 5 years ago

blin00 commented 5 years ago

The path passed to subprocess_auth_authorizedkeys_ is the user's home directory, but we're trying to read ~/.ssh/authorized_keys - the logged path should include .ssh.