From aa5c8ee5a49000d8e0f10ce1c5c1d5a57ae88e25 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Wed, 28 Aug 2024 16:34:38 +0200 Subject: Add initial stuff for the config --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index cb5a926..166f34c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -52,7 +52,7 @@ mod login; fn find_auth_keys(auth: &Auth) { if auth.user != config::ssh_user() { - let authorized_keys_path = Path::new(&auth.home).join(".ssh/authorized_keys_path"); + let authorized_keys_path = Path::new(&auth.home).join(".ssh/authorized_keys"); let mut data = std::fs::File::open(authorized_keys_path).unwrap(); let mut vec = vec![]; data.read_to_end(&mut vec).unwrap(); -- cgit