mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 12:15:34 +03:00
Revert "ssh: deprecate use of old DSA keys"
This reverts commit 65b73d71cb
.
This commit is contained in:
parent
bdbba026f3
commit
07bc859e9a
1 changed files with 5 additions and 2 deletions
|
@ -363,9 +363,12 @@ in
|
|||
HostKey ${k.path}
|
||||
'')}
|
||||
|
||||
# Allow DSA client keys for now. (These were deprecated
|
||||
# in OpenSSH 7.0.)
|
||||
PubkeyAcceptedKeyTypes +ssh-dss
|
||||
|
||||
# Re-enable DSA host keys for now.
|
||||
${optionalString supportOldHostKeys ''
|
||||
# Allow DSA keys for now. (deprecated in OpenSSH 7.0)
|
||||
PubkeyAcceptedKeyTypes +ssh-dss
|
||||
HostKeyAlgorithms +ssh-dss
|
||||
''}
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue