summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-01-17 13:25:17 +0100
committerChristian Poessinger <christian@poessinger.com>2021-01-17 13:25:17 +0100
commite0159c838b6b186ef55ef7aa68a96315a1615fbb (patch)
tree690c30cf94aeda3a9de8d018fb136291178d9ae4 /scripts
parentb104bf820801008ea60b4b11232053825b21d890 (diff)
downloadvyatta-cfg-system-e0159c838b6b186ef55ef7aa68a96315a1615fbb.tar.gz
vyatta-cfg-system-e0159c838b6b186ef55ef7aa68a96315a1615fbb.zip
T671: drop SSH key generation and move this to vyos-1x
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/rl-system.init17
1 files changed, 0 insertions, 17 deletions
diff --git a/scripts/rl-system.init b/scripts/rl-system.init
index cc78700b..6ea1dcae 100755
--- a/scripts/rl-system.init
+++ b/scripts/rl-system.init
@@ -103,21 +103,6 @@ update_interface_config () {
fi
}
-create_ssh_host_keys () {
- if [ ! -f "/etc/ssh/ssh_host_rsa_key" ]; then
- syslog "Creating ssh v2 rsa host key."
- ssh-keygen -q -N '' -t rsa -f /etc/ssh/ssh_host_rsa_key
- fi;
- if [ ! -f "/etc/ssh/ssh_host_dsa_key" ]; then
- syslog "Creating ssh v2 dsa host key."
- ssh-keygen -q -N '' -t dsa -f /etc/ssh/ssh_host_dsa_key
- fi;
- if [ ! -f "/etc/ssh/ssh_host_ed25519_key" ]; then
- syslog "Creating ssh ed25519 host key."
- ssh-keygen -q -N '' -t ed25519 -f /etc/ssh/ssh_host_ed25519_key
- fi;
-}
-
# These are all the default security setting which are later
# overridden when configuration is read. These are the values the
# system defaults.
@@ -142,8 +127,6 @@ start () {
mount -t bpf none /sys/fs/bpf
update_interface_config
- create_ssh_host_keys || \
- log_failure_msg "can't initialize ssh host keys"
clear_or_override_config_files || \
log_failure_msg "can\'t reset config files"