Merge pull request #2347 from ivanmarban/develop
Remove RSA1 keys as only SSH version 2 is used
This commit is contained in:
commit
6dc407c7d9
@ -1,10 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# Check if host keys are present, else create them
|
# 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
|
if ! test -f /data/ssh/ssh_host_rsa_key; then
|
||||||
ssh-keygen -q -f /data/ssh/ssh_host_rsa_key -N '' -t rsa
|
ssh-keygen -q -f /data/ssh/ssh_host_rsa_key -N '' -t rsa
|
||||||
fi
|
fi
|
||||||
|
@ -4,7 +4,6 @@ ListenAddress 0.0.0.0
|
|||||||
ListenAddress ::
|
ListenAddress ::
|
||||||
Protocol 2
|
Protocol 2
|
||||||
LogLevel INFO
|
LogLevel INFO
|
||||||
HostKey /data/ssh/ssh_host_key
|
|
||||||
HostKey /data/ssh/ssh_host_rsa_key
|
HostKey /data/ssh/ssh_host_rsa_key
|
||||||
HostKey /data/ssh/ssh_host_dsa_key
|
HostKey /data/ssh/ssh_host_dsa_key
|
||||||
HostKey /data/ssh/ssh_host_ecdsa_key
|
HostKey /data/ssh/ssh_host_ecdsa_key
|
||||||
|
Loading…
Reference in New Issue
Block a user