Linux enable SSH service related operations

Source: Internet
Author: User

    1. Check to see if the Linux system has an SSH service installed, openssh or other xxxssh, indicating that SSH service is installed

      Command: RPM-QA | grep ssh


650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/82/71/wKioL1dVTerR9icpAAG5nIszyn8225.jpg "title=" 2016-06-06_18-11-02.jpg "alt=" Wkiol1dvterr9icpaag5niszyn8225.jpg "/>


2. Start the SSH service

The SSH service is represented as sshd with a command, so the start command is: Service sshd start

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/82/72/wKioL1dVWLDyMBimAADFk6V9JVw017.jpg "title=" 2016-06-06_18-59-27.jpg "alt=" Wkiol1dvwldymbimaadfk6v9jvw017.jpg "/>



3. View Port Usage

View all TCP ports: NETSTAT-TNLP

650) this.width=650; "src=" http://s5.51cto.com/wyfs02/M01/82/72/wKiom1dVVIjzBPx5AAHUpw4IY-Q836.jpg "style=" float: none; "title=" 2016-06-06_18-45-53.jpg "alt=" Wkiom1dvvijzbpx5aahupw4iy-q836.jpg "/>




View specified port: NETSTAT-TNLP | grep 22

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/82/72/wKioL1dVVY6D2B60AAEPQu6JMgY359.jpg "title=" 2016-06-06_18-46-14.jpg "style=" Float:none; "alt=" wkiol1dvvy6d2b60aaepqu6jmgy359.jpg "/>


4. Test the SSH service for connection Success under Windows DOS Window command: Telnet IP address port number

650) this.width=650; "src=" http://s2.51cto.com/wyfs02/M02/82/72/wKiom1dVWcGSZYvcAADcuTLhgRw024.jpg "style=" float: none; "title=" 2016-06-06_18-55-30.jpg "alt=" Wkiom1dvwcgszyvcaadcutlhgrw024.jpg "/>

650) this.width=650; "src=" http://s2.51cto.com/wyfs02/M02/82/72/wKioL1dVWsjQxkcIAACJLhlMAOA708.jpg "style=" float: none; "title=" 2016-06-06_18-55-40.jpg "alt=" Wkiol1dvwsjqxkciaacjlhlmaoa708.jpg "/>



This article is from the "Azure Blue" blog, please be sure to keep this source http://chenchaop.blog.51cto.com/7152559/1786694

Linux enable SSH service related operations

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.