Commit 951619323bd22c1f9a989d3f2e70ca4d557b6422

Authored by Jacob Vosmaer
1 parent 2725ff6b
Exists in master

Reload OpenSSH server during build env setup

If you edited sshd_config the changes won't take effect until the next
reboot otherwise.
Showing 1 changed file with 3 additions and 0 deletions   Show diff stats
doc/build.md
... ... @@ -17,6 +17,7 @@ sudo ufw enable
17 17  
18 18 # Check for SSH password logins, they should be disabled; The command below should return no results
19 19 grep '^[^#]*PasswordAuthentication' /etc/ssh/sshd_config
  20 +sudo service ssh reload
20 21  
21 22 # Install dependencies
22 23 sudo apt-get install ruby1.9.1 ruby1.9.1-dev git build-essential cmake
... ... @@ -61,6 +62,7 @@ sudo lokkit -s ssh
61 62  
62 63 # Check for SSH password logins; they should be disabled
63 64 grep '^[^#]*PasswordAuthentication' /etc/ssh/sshd_config
  65 +sudo service sshd reload
64 66  
65 67 sudo yum groupinstall 'Development Tools'
66 68 # Install RedHat Software Collections to get Ruby 1.9.3
... ... @@ -107,6 +109,7 @@ sudo firewall-cmd --list-all
107 109  
108 110 # Check for SSH password logins; they should be disabled
109 111 grep '^[^#]*PasswordAuthentication' /etc/ssh/sshd_config
  112 +sudo systemctl reload sshd
110 113  
111 114 sudo yum groupinstall 'Development Tools'
112 115 sudo yum install ruby ruby-devel cmake
... ...