connect to Linux remotely using Putty
First go to download putty
As far as possible to download the official website, the official version of the Puttygen, we use the secret key after the use of
Download this version
32 bit on the line, 32 bit on 64-bit system uptime
Open Putty
This location enter the IP address of the server that needs to be remote
If you do not know the server IP needs to go to native view
Log on to the server, enter the IP addr view IP
After entering the IP address, the following port default 22, if the server upper port number has been modified, the above also to modify the
Let putty remember the login address, convenient for later login
In this location to enter a name for the server, and then save, you save the name will appear in the box below, the next login directly to the name of the box can be directly connected, do not need to lose the IP
Putty inside the action to modify the
left window to modify
Command line to save the number of lines (that is, your command, you can go up the number of rows) by default is 200, it is recommended to adjust the large point, easy to use
Modify the font, small screen, font size, easy to see
Transmission character encoding (Chinese characters are encoded UTF-8)
•
Then go back to the session login server
Click Open (after clicking on the box, click "Yes")
User name, password login to operate
•
•
·
·
·
Xshell Connection server
Xshell Download the installation, direct normal installation, and then next step can be
Open after installation, there will be a session popup, choose New
Left also has the option, You can modify fonts, login mode, and so on. We first login, name can modify a convenient memory name, the same as the use of SSH protocol, port and putty the same, the host output IP. A pop-up window will appear when you connect, and you can choose to save it directly
The biggest difference between him and putty is that she is more convenient to manage multiple screens, multiple screen operation is available
•
•
·
·
·
Putty key Authentication login
Use the Puttygen generated key with the putty that you just downloaded
Click Generate (the mouse shakes slightly faster in the build)
After the completion of the creation of a secret key to set a password, the public key is first copied and then saved, the private key is not visible, so directly save the line
Connect to the server first, then create a public key file location and set permissions
Mkdir/root/.ssh
chmod 700/root/.ssh
mkdir Creating a Directory
chmod Modify Permissions
Vi/root/.ssh/authorized_keys Copy the contents of the public key inside and save it.
Turn off SELinux security rules
Then go to modify putty, add the secret key,
Set Putty to login with key
·
·
·
Xshell secret key
Open the Xshell-> tool, new user Key Generation Wizard (W)
RSA encryption method, 2048-bit key length, enter the public key name (WANGS_RSA), key password, next
Public key Format (SSH2-OPENSSH) Save file, save public key to local--complete
This will pop up the session box with the private key you just generated (same as the key name), select the private key, click Export, Export the private key to a local
·
·
·
Connect to the server, then create a public key file location and set permissions (if you already have this folder, just put it in the beginning with the # sign)
Mkdir/root/.ssh
chmod 700/root/.ssh
mkdir Creating a Directory
chmod Modify Permissions
Vi/root/.ssh/authorized_keys Copy the contents of the public key inside and save it.
Turn off SELinux security rules
Open a different SSH
Select private Key Name connection
Direct access to the system
Remotely connect Linux, set secret keys