generate the secret key pair.Save private key to local, such as F:\linux\linux key, by clicking Save Private keyCopy the public key shown to be ready for use2. On the server, put in the public keyEnter the following in the terminalMkdir/root/.sshchmod 700/root/.ssh only gives root user a maximum privilegeNote: chmod command followed by three digits, representing the owner, belong to the group, the other, each has RWX permission, corresponding to the
First check whether the SSHD service is enabledEnter terminal input #ssh localhostIf prompted: Ssh:connect to host localhost port 22:connection refused errorNo need to worry about it, no starting sshd service for the sake ofInstall sshd command: #yum install Openssh-serverOpen after installation: #/etc/init.d/sshd start or service sshd startIn case the connection
After remotely connecting to the server, PuTTY often prompts "Softwarecausedconnectionabort" when disconnected, and often loses the connection in a short time. Solution: Step 1: Set Server 1. Modify the etcsshsshd. config file on the server, set LoginGraceTime to 0, and TCPKeepAlive to yes2.
After remotely connecting to the server, PuTTY often prompts "Software
After downloading the Puttygen software, open it
1, click [Generate]
2, please generate some radomness by moving the mouse over the blank area. That means you use your mouse to empty
The white area moves randomly. As the mouse moves through the blank area, the progress bar goes on. When you stop moving the mouse, the progress bar stops. So let's move the mouse until the progress bar is full.
3 Click Save Private key
4, click Yes (Y)
5. Save As PPK file (name here, file where yo
/wKiom1nnCneAyjwjAAFVLiSnqoU179.png-wh_500x0-wm_ 3-wmp_4-s_624417433.png "title=" 3.png "width=" 380 "height=" 225 "border=" 0 "hspace=" 0 "vspace=" 0 "style=" width:380px; height:225px; "alt=" Wkiom1nncneayjwjaafvlisnqou179.png-wh_50 "/>2. "Next".3. "Next Step"4. Set the key password, "next".5.[email protected] ~]# Vi/root/.ssh/authorized_keys6. Exit. Go back to the login page and set the properties.650) this.width=650; "Src=" https://s2.51cto.com/wy
SSH is based on Key verification and accelerates SSH connection, and key verification ssh connection speed
Authentication Method for SSh service logon:
Password-based security verification
1. When the client initiates an
Tags: note Note notes1.9 Remote connection to Linux using putty1.10 using Xshell to connect to Linux1.11 Putty Key authentication1.12 Xshell key authenticationNotes
Vmwork Snapshot: Easy recovery
Use the SSH service to telnet to the Linux system.
Putty download URL; https://www.chiark.greenend.org.uk/~sgtat
Yesterday, because of the reload of the win8.1, resulting in the previous period of time to learn the Linux virtual machine to reinstall, simply re-install.Beginning in all order, follow the teacher's steps, set up the IP after the remote control, open putty is dead or alive connection is not on the virtual machine.Next on a variety of Baidu, off the firewall, re-install
Linux need to use.10. Then go to create a directory and key file on Linux.[Email protected] ~]# MKDIR/ROOT/.SSH[Email protected] ~]# chmod 700/root/.ssh[Email protected] ~]# Vi/root/.ssh/authorized_keys11. Paste the public key into the Authorized_keys file.Press the I key to enter edit mode, then paste the generated public key in, click the message can be pasted
Tags: remote connection and key authentication for putty and XshellRemote connection software: Putty and XshellPuttyHttps://www.chiark.greenend.org.uk/~sgtatham/putty/latest.htmlDownload: Putty.zipXshell Baidu search Download.After downloading the installation.One,
Often on the internet to see someone said that they use the Putty tool to log on to the server is always connected, such a situation in the first contact with Putty also encountered. In the Connection there is a Seconds between keepaliaves, this is the number of seconds per interval specified, send the server an empty packet, to maintain the
PuTTY connection to Linux Server frequent disconnection solution, puttylinux
After remotely connecting to the server, PuTTY often prompts "Software caused connection abort" when disconnected, and often loses the connection in a short time.
The solution is as follows:
St
Servers are typically in the IDC (Internet Data Center) room and need to be operated using the Remote Connection tool. Common remote connection tools are putty, Xshell, SecureCRT. Putty Small, powerful, color-realistic. the use of Putty is explained here. 1. Download
set file name lit Set REC Pack set Send pack 1000 Set Window 5After the setup is finished, note the file header in English with hints:; If you want to run additional user-specific customisations in; addition to the file, place them in ~/.MYKERMRCYour file hints that this ~/.MYKERMRC may not be the same name as your.This ~/.MYKERMRC file is to be built under its own home directory. (This file is the author's custom configuration)The above configuration information is also populated in the. myke
Some people who are using putty may not know how to move the current putty session List to another host if they want to renew the host, in fact, all the zookeeper checklists are stored in the system's registry database.
The method for copying is as follows:
1. Enable regedit.exe
2. Upload the host to [HKEY_CURRENT_USER/software/simontatham/Putty ].
3. Generat
Xshell,putty,xftp is a great choice when you finally get a server (Ubuntu (Linux) system) and don't know how to do it.Xshell and Xftp are a powerful tool for access to Ubuntu (Linux) servers under winXshell allows you to remotely connect to an Ubuntu server under win1 new, 2 fill in name and host IP, 3 OK, then connect to Ubuntu Black window Putty allows you to remotely connect to Ubuntu under Ubuntu (
The Ubuntu default does not have SSH service installed, and if you link Ubuntu via SSH, you will need to manually install Ssh-server. To determine whether to install the SSH service, you can do so by using the following command: xjj@xjj-desktop:~$ ssh localhost ssh:connect t
Environment: VirtualBox4.1 + RedHatLinux6 + Putty0.62 problem: Putty remote connection to Linux server garbled code, as shown in: Solution: 1. execute locale amp; ndash; a to check the character encoding supported by the current system; 2. execute LANGzh_CN.utf...
Environment: VirtualBox4.1 + RedHat Linux 6 + Putty0.62 problem: Garbled code occurs when Putty re
Putty connects to ubuntu: network error: connection refused, puttyubuntuCause:
Ubuntu has a bug: a folder sshd is missing in the/var/run/directory.Solution:
On the command line, enter:
Sudo mkdir/var/run/sshd
Sudo/usr/sbin/sshd
Netstat-nltThe following log problems are solved:
Active Internet connections (only servers)Proto Recv-Q Send-Q Local Address Foreign Address StateTcp 0 0 127.0.1.1: 53 0.0.0
Environment: VirtualBox4.1 + RedHat Linux 6 + Putty0.62
Problem: Putty remote Connection Linux server appears garbled
As shown in the following illustration:
Solve:
1. Perform locale–a first to view the character encoding supported by the current system;
2. Implement lang=zh_cn.utf-8 Modify current environment language constants;
3. Click the icon in the upper-left corner of the
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.