Ubuntu14.04lts openssh-server Manual Installation configuration steps

Source: Internet
Author: User
Tags bz2 openssl openssl version

First use the Internet to download the machine: zlib-1.2.5.tar.bz2, openssh-5.6p1.tar.gz, Openssl-0.9.8o.tar.tar, Next, ready to install.

The steps are as follows:

1, first decompression installation ZLIB:TAR-XF zlib-1.2.5.tar.bz2, will be generated in the current directory zlib directory. Go to the Zlib directory, then./configure, make make install, all the way down, without error prompts, the installation succeeds.

2. Installation of OpenSSL. Step above. After installation, use the command: OpenSSL version-a to check if OpenSSL is installed correctly.

Installation here may cause an error: POD document had syntax errors At/usr/bin/pod2man line 71.

Workaround: Open/usr/bin/pod2man This configuration file to see if you can comment out the 71st line in the compilation with the # comment

3, re-install Openssh-server. Step above. In the last step error: Privilege separation user sshd does not exist resolved: added in/etc/passwd: sshd:x:74:74:privilege-separated ssh:/var/emp Ty/sshd:/sbin/nologin again make install to compile the installation successfully.

4, start SSH. SSH is installed by default in the/usr/local/sbin/directory, using/usr/local/sbin/sshd to start the SSH service, which listens to port 22 by default.

5. Check if the SSH service is started:

netstat-tnlp| grep: 

Finally, if Ubuntu restarts, the sshd will not boot up by default, so add boot-up

sudo vi/etc/rc.local

Before exit 0, add a line:

/usr/local/sbin/sshd

Ubuntu14.04lts openssh-server Manual Installation configuration steps

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.