Enable SSH in linux to connect to PUTTY

Source: Internet
Author: User
In linux, enable SSH to connect to PUTTY. enter the command and perform the following operations: 1. modify the sshd_config file and run the command vi/etc/ssh/sshd_config2. remove the # PasswordAuthenticationno annotation, modify NO to YES3 and # PermitRootLoginyes... in linux, enable SSH to connect to PUTTY. enter the command and perform the following operations: 1. modify the sshd_config file and run the command vi/etc/ssh/sshd_config 2. remove the # PasswordAuthentication no comment, modify NO to YES. 3. remove the comment of # PermitRootLogin yes. 4. restart the SSH service and run the command:/etc/init. d/sshd restart 5. verify the SSH service status. Command:/etc/init. d/sshd status if you do not use the vi editor for operations, you can refer to two simple vi editor commands: a. press the I key to start editing operations; b. press esc to exit the editing mode after deleting the key using the backspace and del keys. c. enter ": w" and press enter to save the editing; d. Press shift and enter "zz" to exit the vi editor;
Related Article

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.