Records
Functions
-
void check_authorized_keys ()This function is primarily for debugging. In some cases the system can get
into a state where we can't access the ssh keys, so we want to explicitly log
when this is the case.
Defined at line 22 of file ../../src/developer/sshd-host/authorized_keys.cc
-
zx_status_t provision_authorized_keys_from_bootloader_file (fidl::SyncClient<fuchsia_boot::Items> & boot_items)Looks for an authorized_keys file passed from the bootloader, and if found persists it to disk.
If keys already exist on disk, this is a no-op and will not overwrite them.
Returns `ZX_OK` on the normal cases: no authorized_keys were passed from the bootloader, or the
keys were passed and were successfully written to disk.
Defined at line 32 of file ../../src/developer/sshd-host/authorized_keys.cc
Variables
const std::string_view kAuthorizedKeyPathInData
Defined at line 12 of file ../../src/developer/sshd-host/constants.h
const std::string_view kAuthorizedKeysBootloaderFileName
Defined at line 13 of file ../../src/developer/sshd-host/constants.h
const char[10] kSshDirectory
Defined at line 14 of file ../../src/developer/sshd-host/constants.h
const char[26] kAuthorizedKeysPath
Defined at line 15 of file ../../src/developer/sshd-host/constants.h
const std::string_view kShellCollection
Defined at line 32 of file ../../src/developer/sshd-host/service.h