标签:ini figure sshd_conf https Fix pat file bsd amp
一、下载新版本的openssh8.0
wget https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-8.0p1.tar.gz
二、解压到/usr/local/src
tar xvf openssh-8.0p1.tar.gz -C /usr/local/src/
三、编译
cd openssh-8.0p1/
./configure --prefix=/usr/local/openssh8 --sysconfdir=/etc/ssh8
make&&make install
cd /usr/local/src/openssh8/contrib/redhat/
cp sshd.init /etc/init.d/sshd8
chkconfig --add sshd8
vim /etc/ssh8/sshd_config 改配置路径(/usr/local/openssh8)
vim /etc/profile ‘ 修改PATH (export PATH=$PATH:/usr/local/openssh8/bin:/usr/local/openssh8/sbin)
source /etc/profile
标签:ini figure sshd_conf https Fix pat file bsd amp
原文地址:https://www.cnblogs.com/jiersixi/p/11411468.html