HomePhabricator

examples: add public key authentication to ssh_server_fork

Authored by eric-bentley on Nov 26 2017, 9:08 PM.

Description

examples: add public key authentication to ssh_server_fork

I noticed that there was no example showing server side public key encryption in the examples
so I added this one. I used authorizedkeys as a global to minimize the changes to the original
code as well as I was not sure the correct methodology of determining the .ssh directory location
for a user not using Linux. One code using the user parameter to determine the location to use
instead if desired.

Signed-off-by: Eric Bentley <ebentley66@gmail.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>

Details

Committed
asnThu, Jan 24, 5:48 PM
Parents
rLIBSSHbe9943132e46: tests: Extend negative test cases for config Match keyword
Branches
Unknown
Tags
Unknown