#putty工具百度下载即可, preferably from the official website. In addition to the installation location, the rest of the installation can be done by default.
1, use command ifconfig command, write down eth0 IP, mine is 192.168.1.169
650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/bdebba27d890e3587355f39877f20e87/xmlnote/ 466cdc8f1dfe4aef9600c7371b1d81a6/584 "style=" HEIGHT:AUTO;BORDER:0PX;WIDTH:458.477PX; "alt=" 584 "/>
2, open putty, and will find the IP written in the picture position, the next side of the saved sessions place for this address a name, then click Save Save, Open enter.
650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/bdebba27d890e3587355f39877f20e87/xmlnote/ 3611dbc1dcc64fbbbec0b8bfd19e11a6/588 "style=" height:auto;border:0px; "alt=" 588 "/>
3, Pop-up box select "Yes", enter the user name, password. When you use the root account in your study, the login is successful.
650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/bdebba27d890e3587355f39877f20e87/xmlnote/ abb26c7875b4489993766a12bc956878/598 "style=" HEIGHT:AUTO;BORDER:0PX;WIDTH:463.919PX; "alt=" 598 "/>
There is also a key login mode:
1, in putty download some small tools, including one called Puttygen, opened after:
650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/bdebba27d890e3587355f39877f20e87/xmlnote/ d9bb5296d7354b1aa41f79e52b1cfa8c/616 "style=" height:auto;border:0px; "alt=" 616 "/>
2, point generate Generate key, in the process of generating the key, the mouse needs to move around the progress bar, generated as follows:
650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/bdebba27d890e3587355f39877f20e87/xmlnote/ ed71abc828ce4d4487fc862a9a1d8b2a/621 "style=" height:auto;border:0px; "alt=" 621 "/>
3, the selected is the public key, need to put on the Linux server; the lower-side save private key generates the private key stored in the physical machine. Note Set the password at the top blank line before generating the private key.
650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/bdebba27d890e3587355f39877f20e87/xmlnote/ 13c8842797444fa1885f61351ed2cfff/627 "style=" height:auto;border:0px; "alt=" 627 "/>
4. Copy the public key and build a directory in the Linux server. SSH,
650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/bdebba27d890e3587355f39877f20e87/xmlnote/ c525c4306266459eb54117fcfa93a4db/630 "style=" HEIGHT:AUTO;BORDER:0PX;WIDTH:472.909PX; "alt=" 630 "/>
5, use VI in the. SSH directory to create a file Authorized_keys, and write the public key.
#vi/root/.ssh/authorized_keys
650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/bdebba27d890e3587355f39877f20e87/xmlnote/ 67c629582a80424e8575da705cb4d141/641 "style=" HEIGHT:AUTO;BORDER:0PX;WIDTH:463.497PX; "alt=" 641 "/>
650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/bdebba27d890e3587355f39877f20e87/xmlnote/ 0710740c201a4811b80435dc2cd3fc85/643 "style=" HEIGHT:AUTO;BORDER:0PX;WIDTH:463.979PX; "alt=" 643 "/>
6, change the authority, close SELinux, iptables firewall.
#chmod 700/root/.ssh
#chmod 600/root/.ssh/authorized_keys
#setenforce 0
#vi/etc/selinux/config
650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/bdebba27d890e3587355f39877f20e87/xmlnote/ f09cdedacc3a4299a613842dd9b6051f/659 "style=" HEIGHT:AUTO;BORDER:0PX;WIDTH:401.196PX; "alt=" 659 "/>
Change into
650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/bdebba27d890e3587355f39877f20e87/xmlnote/ 54de048bc3cc420e990b52074004b579/661 "style=" height:auto;border:0px; "alt=" 661 "/>
#iptables-F
#service iptables Save
7. Return to Putty, check centos6.8 (set up in front), click Load, then expand left SSH, click on the Auth, right browse, select the public key stored in front. Open login can be.
650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/bdebba27d890e3587355f39877f20e87/xmlnote/ e116719448654c8ab9be8422a3ad55a8/682 "style=" height:auto;border:0px; "alt=" 682 "/>
This article is from the "cloud" blog, be sure to keep this source http://walterliew.blog.51cto.com/11286797/1877071
Linux Remote login Tool putty Use