Linux system OpenSSH source code compilation installation steps detailed

Source: Internet
Author: User


1, install the response devel package, or to the error header file can not find.


Yum install zlib-devel openssl-devel tcp_wrappers-devel libselinux-devel

2, download the latest OpenSSL.


wget ftp://ftp5.usa.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-6.6p1.tar.gz

3. Compile and install.

./configure--with-pam--with-md5-passwords \
--with-tcp-wrappers--with-selinux--prefix=/usr \
--sysconfdir=/etc/ssh--without-zlib-version-check \
--with-ssl-dir=/usr/local/ssl

The parameters are: Start Pam, MD5 encryption, Tcpwrapper and SELinux, specify the installation directory, configuration directory, and package directory.

And then it's built. Familiar: Make && make install

Finally see if the relevant parameters are correct, the configuration is correct, reboot.


Of course, my installation all the way smoothly, the students should be the error is less bag, their own online check it

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.