This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
gitea
Watch
3
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Remove RSA1 keys as only SSH version 2 is used
for-closed-social
Ivan Marban
8 years ago
parent
cc22c8a1ae
commit
4ea75dfcbe
2 changed files
with
0 additions
and
5 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-4
docker/s6/openssh/setup
+0
-1
docker/sshd_config
+ 0
- 4
docker/s6/openssh/setup
View File
@ -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
+ 0
- 1
docker/sshd_config
View File
@ -4,7 +4,6 @@ ListenAddress 0.0.0.0
ListenAddress ::
Protocol 2
LogLevel INFO
HostKey /data/ssh/ssh_host_key
HostKey /data/ssh/ssh_host_rsa_key
HostKey /data/ssh/ssh_host_dsa_key
HostKey /data/ssh/ssh_host_ecdsa_key
Write
Preview
Loading…
Cancel
Save