Tag: centos6.7

OpenSSH 7.3 on CentOs 6.7

OpenSSH 7.3 on CentOs 6.7

A simple script to upgrade OpneSSH on CentOs 6.7. #!/bin/bash # Copyright © 2016 Faishal Saiyed cd timestamp=$(date +%s) 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 cd openssh-7.3p1/ cp /etc/pam.d/sshd pam-ssh-conf-$timestamp rpm -U *.rpm yes | cp