summaryrefslogtreecommitdiff
path: root/scripts/ssh-server-key
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-09-01 21:10:39 +0200
committerGitHub <noreply@github.com>2019-09-01 21:10:39 +0200
commit6c460809b650377d2803b433c75914d7b707592e (patch)
tree4b245e21369c40de3bf2119095abcf52bd38a6f3 /scripts/ssh-server-key
parent9ae04f290d6437001bd0cc1daa58e5c304b76e4c (diff)
parenteea95c8980a290d753777da173935f39f1589b9b (diff)
downloadvyatta-op-6c460809b650377d2803b433c75914d7b707592e.tar.gz
vyatta-op-6c460809b650377d2803b433c75914d7b707592e.zip
Merge pull request #27 from alkersan/T1621_misc_rewrites
T1621 remove misc ops after python/xml rewrite
Diffstat (limited to 'scripts/ssh-server-key')
-rwxr-xr-xscripts/ssh-server-key14
1 files changed, 0 insertions, 14 deletions
diff --git a/scripts/ssh-server-key b/scripts/ssh-server-key
deleted file mode 100755
index 949d314..0000000
--- a/scripts/ssh-server-key
+++ /dev/null
@@ -1,14 +0,0 @@
-regen_host_keys ()
-{
- sudo /bin/rm -v /etc/ssh/ssh_host_*
- sudo dpkg-reconfigure openssh-server
- sudo /etc/init.d/ssh restart
-}
-
-echo "Do you really want to remove the existing SSH host keys? "
-${vyatta_bindir}/yesno
-
-if [ $? -eq 0 ]
-then
- regen_host_keys
-fi