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