Putty and Xshell remote connection and key login

Source: Internet
Author: User

Putty
    • : https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
    • Download 32-bit on the line, 64-bit operating system can also be used.
    • Fill in the host IP address and port and name, remember to set all the key points save
    • Set command history in Windows options lines of Scrollback to 2000
    • Change font
    • Select UTF-8 Encoding Mode
Putty key authentication
  • Open Puttygan, click the generates button "need to move the mouse progress bar to quickly finish"
  • Save public key and private key to folder (not easily found by others)
  • Open Putty Select AMING01 Click Load
  • Select Auth under SSH, specify the file path of the private key, and be sure to return to the login screen for save to take effect.
  • Enter Linux settings:
    MKDIR/ROOT/.SSH---Creating a directory
    chmod 700/root/.ssh----Set permissions 700
    Vi/root/.ssh/authorized_keys----Create and edit, copy the public key to save
    Setenforce 0----Turn off SELinux firewall
    This allows you to log in with the key password Xshell
  • Open new Session--Select connection, fill in name, IP, port number
  • Adjust font size in appearance, other best default
  • In user authentication, fill in the user and password, you can also choose the secret key login
  • Stay active for a long time.
  • Inside the terminal, select Code UTF-8
  • After connection, in the tools--options, set right-click Paste
  • Other interface options can also be set Xshell key authentication
  • Open tool new user key Generation wizard
  • Click Next to, set the name, password (can be empty)
  • Copy public key
  • Finish and close
  • Enter the session, the properties set the user authentication method is the key, set the user name, password, key name, password OK.
  • Click on Browse, import and export the private key content, and save.
  • Enter Linux settings:
    MKDIR/ROOT/.SSH---Creating a directory
    chmod 700/root/.ssh----Set permissions 700
    Vi/root/.ssh/authorized_keys----Create and edit, copy the public key to save
    Setenforce 0----Temporarily shut down SELinux firewall
    This allows you to log in with the key password

Putty and Xshell remote connection and key login

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.