Created
June 26, 2014 18:37
-
-
Save tekton/7068e2f235d59832b91a to your computer and use it in GitHub Desktop.
ubuntu 14.04 SSH Server Fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo ssh-keygen -b 1024 -t rsa -f /etc/ssh/ssh_host_key | |
sudo ssh-keygen -b 1024 -t rsa -f /etc/ssh/ssh_host_rsa_key | |
sudo ssh-keygen -b 1024 -t dsa -f /etc/ssh/ssh_host_dsa_key |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment