diff --git a/ssh/autossh-master/README.md b/openssh/autossh-master/README.md similarity index 100% rename from ssh/autossh-master/README.md rename to openssh/autossh-master/README.md diff --git a/ssh/autossh-master/autossh b/openssh/autossh-master/autossh similarity index 100% rename from ssh/autossh-master/autossh rename to openssh/autossh-master/autossh diff --git a/ssh/openssh.sh b/openssh/openssh.sh similarity index 100% rename from ssh/openssh.sh rename to openssh/openssh.sh diff --git a/ssh/openssh1.sh b/openssh/openssh1.sh similarity index 100% rename from ssh/openssh1.sh rename to openssh/openssh1.sh diff --git a/ssh/ssh.sh b/openssh/ssh.sh similarity index 100% rename from ssh/ssh.sh rename to openssh/ssh.sh diff --git a/ssh/ssh_config_centos6.sh b/openssh/ssh_config_centos6.sh similarity index 100% rename from ssh/ssh_config_centos6.sh rename to openssh/ssh_config_centos6.sh diff --git a/ssh/ssh_config_centos7.sh b/openssh/ssh_config_centos7.sh similarity index 100% rename from ssh/ssh_config_centos7.sh rename to openssh/ssh_config_centos7.sh diff --git a/ssh/update-ssh-el6.sh b/openssh/update-ssh-el6.sh similarity index 100% rename from ssh/update-ssh-el6.sh rename to openssh/update-ssh-el6.sh diff --git a/ssh/update-ssh-el7.sh b/openssh/update-ssh-el7.sh similarity index 100% rename from ssh/update-ssh-el7.sh rename to openssh/update-ssh-el7.sh diff --git a/openssl/install.sh b/openssl/install.sh new file mode 100644 index 0000000..8c1f187 --- /dev/null +++ b/openssl/install.sh @@ -0,0 +1,23 @@ +#!/bin/bash + +wget https://codeload.github.com/openssl/openssl/tar.gz/OpenSSL_1_1_1h + +yum install -y gcc make perl + +tar zxvf OpenSSL_1_1_1h.tar.gz + +cd openssl-OpenSSL_1_1_1h +./config --prefix=/usr/local/openssl +make +make install + + +mv /usr/bin/openssl /usr/bin/openssl.old +mv /usr/lib64/openssl /usr/lib64/openssl.old +mv /usr/lib64/libssl.so /usr/lib64/libssl.so.old +ln -s /usr/local/openssl/bin/openssl /usr/bin/openssl +ln -s /usr/local/openssl/include/openssl /usr/include/openssl +ln -s /usr/local/openssl/lib/libssl.so /usr/lib64/libssl.so +echo "/usr/local/openssl/lib" >> /etc/ld.so.conf +ldconfig -v +openssl version