summaryrefslogtreecommitdiff
path: root/scripts/ssh-server-key
diff options
context:
space:
mode:
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