mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
id_ed25519.pub support for authorized_keys update
This commit is contained in:
@@ -26,6 +26,9 @@ if ($config{'sync_create'} && &has_command($config{'keygen_path'}) &&
|
||||
if (-r "$uinfo->{'home'}/.ssh/identity.pub") {
|
||||
©_source_dest("$uinfo->{'home'}/.ssh/identity.pub", $akeys);
|
||||
}
|
||||
elsif (-r "$uinfo->{'home'}/.ssh/id_ed25519.pub") {
|
||||
©_source_dest("$uinfo->{'home'}/.ssh/id_ed25519.pub", $akeys);
|
||||
}
|
||||
elsif (-r "$uinfo->{'home'}/.ssh/id_rsa.pub") {
|
||||
©_source_dest("$uinfo->{'home'}/.ssh/id_rsa.pub", $akeys);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user