Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

3- ENABLE ROOT-SSH ACCESS + create a root password ( to all nodes )

sudo su
passwd
sed##sed -e 's/#PermitRootLogin yes/PermitRootLogin yes/g' -e 's/PasswordAuthentication no/PasswordAuthentication                  yes/g' /etc/ssh/sshd_config 

sed -i 's/#PermitRootLogin/PermitRootLogin/g' /etc/ssh/sshd_config

sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config

service sshd restart
yum install git epel-release -y
logout

...