feat: Add private key for self-authentication
This commit is contained in:
parent
56ec51e9f8
commit
7d7abf6694
|
|
@ -102,5 +102,5 @@ def configure_sshd() -> None:
|
||||||
|
|
||||||
for file in [fp for fp in os.listdir('./data/local_keys') if not fp.endswith(".pub")]:
|
for file in [fp for fp in os.listdir('./data/local_keys') if not fp.endswith(".pub")]:
|
||||||
write_private_key(file)
|
write_private_key(file)
|
||||||
|
write_private_key('./data/remote_keys/id_ecdsa_0')
|
||||||
restart_service("sshd")
|
restart_service("sshd")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue