OpenSSH 7.3 on CentOs 6.7
A simple script to upgrade OpneSSH on CentOs 6.7.
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
|# Copyright © 2016 Faishal Saiyed|
|if [ ! -f openssh-7.3.zip ]; then wget https://github.com/faishal/openssh-portable/releases/download/cent.os.6.7.openssh.7.3p1/openssh-7.3.zip; fi;|
|unzip -o openssh-7.3.zip -d openssh-7.3p1|
|cp /etc/pam.d/sshd pam-ssh-conf-$timestamp|
|rpm -U *.rpm|
|yes | cp pam-ssh-conf-$timestamp /etc/pam.d/sshd|
To use you can run following command with root user
bash < ( curl -sL https://bit.ly/2OaOGPZ )