forked from forgejo/forgejo
Remove RSA1 keys as only SSH version 2 is used
This commit is contained in:
parent
cc22c8a1ae
commit
4ea75dfcbe
2 changed files with 0 additions and 5 deletions
|
@ -1,10 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Check if host keys are present, else create them
|
||||
if ! test -f /data/ssh/ssh_host_key; then
|
||||
ssh-keygen -q -f /data/ssh/ssh_host_key -N '' -t rsa1
|
||||
fi
|
||||
|
||||
if ! test -f /data/ssh/ssh_host_rsa_key; then
|
||||
ssh-keygen -q -f /data/ssh/ssh_host_rsa_key -N '' -t rsa
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue