OpenSSL 官網 : http://www.openssl.org/

下載 : http://www.openssl.org/source/

wget http://www.openssl.org/source/openssl-1.0.1c.tar.gz

編譯安裝

tar zxvf openssl-1.0.1c.tar.gz
cd openssl-1.0.1c
./config --prefix=/usr zlib-dynamic --openssldir=/etc/ssl shared
make
make install

OpenSSH 官網 : http://www.openssh.com/

下載 : http://www.openssh.com/portable.html

wget http://openbsd.org.ar/pub/OpenBSD/OpenSSH/portable/openssh-6.1p1.tar.gz

編譯安裝

tar zxvf openssh-6.1p1.tar.gz
cd openssh-6.1p1
./configure --prefix=/usr  --sysconfdir=/etc/ssh --with-pam --with-md5-passwords
make
make install

驗證 ssh OK

/usr/sbin/sshd -t -f /etc/ssh/sshd_config

ref

http://www.linuxfromscratch.org/blfs/view/svn/postlfs/openssl.html
http://www.linuxfromscratch.org/blfs/view/svn/postlfs/openssh.html

 

Related posts 相關文章
用 DNSSEC 是為了安全,但如果憑證過期了怎麼辦
More...
使用 dehydrated 安裝 Let’s Encrypt SSL 憑證
More...
使用 certbot 安裝 Let’s Encrypt SSL 憑證
More...
該更新 OpenSSL,一個高風險、七個中等風險的漏洞
More...

作者

留言

撰寫回覆或留言

發佈留言必須填寫的電子郵件地址不會公開。