Added sshd_config modifications

This commit is contained in:
Jason Hee committed 2016-11-27 23:36:01 +08:00
1 parent 2779c7f3ee
commit 9ef673594e
3 files changed
+42 -2

No files matched your search

+5 -1
View File
@@ -29,4 +29,8 @@ fi
addUserAccount "${username}" "${password}"
read -rp $'Paste in the public SSH key for the new user:\n' sshKey
addSSHKey "${username}" "${sshKey}"
addSSHKey "${username}" "${sshKey}"
changeSSHConfig
setupUfw
sudo service ssh restart