This case virtual machine test environment:
securecrt version: securecrt_7.1.2
Linux version: CentOS 6.6 (2.6.32-504.el6.x86_64)
First, the password is connected to Linux. Select the Tools\create public Key ...
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/5A/D3/wKioL1T9yCDwngv9AAIUOJG5fCE689.jpg "style=" float: none; "title=" 1.png "alt=" Wkiol1t9ycdwngv9aaiuojg5fce689.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/5A/D8/wKiom1T9xwTQ7AJFAALEs72qCCE960.jpg "style=" float: none; "title=" 2.png "alt=" Wkiom1t9xwtq7ajfaales72qcce960.jpg "/>
Second, choose the encryption algorithm.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/5A/D3/wKioL1T9yCDxIaaaAAJxBxiCmCs522.jpg "style=" float: none; "title=" 3.png "alt=" Wkiol1t9ycdxiaaaaajxbxicmcs522.jpg "/>
Third, set the key password, optional (the case test, not filled).
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/5A/D8/wKiom1T9xwTTiDf-AAL8ePS6_9w831.jpg "style=" float: none; "title=" 4.png "alt=" Wkiom1t9xwttidf-aal8eps6_9w831.jpg "/>
Key Length (test in this case, default)
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/5A/D3/wKioL1T9yCGCW30cAAKr8Fy6K9I332.jpg "style=" float: none; "title=" 5.png "alt=" Wkiol1t9ycgcw30caakr8fy6k9i332.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/5A/D8/wKiom1T9xwayT7IvAAJzxyZIjqQ077.jpg "style=" float: none; "title=" 6.png "alt=" Wkiom1t9xwayt7ivaajzxyzijqq077.jpg "/>
Steps in the old version without the OpenSSH Key format option, the following steps eight refer to the text description.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/5A/D3/wKioL1T9yCLzViLEAAMyymxNcsI224.jpg "style=" float: none; "title=" 7.png "alt=" Wkiol1t9yclzvileaamyymxncsi224.jpg "/>
Six, whether the global application, I choose No.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/5A/D8/wKiom1T9xwewbc4CAAJCZUOgVbs631.jpg "style=" float: none; "title=" 8.png "alt=" Wkiom1t9xwewbc4caajczuogvbs631.jpg "/>
Seven, take a look at the production key:
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/5A/D3/wKioL1T9yCSx1tAwAAItk0W5Ats584.jpg "style=" float: none; "title=" 9.png "alt=" Wkiol1t9ycsx1tawaaitk0w5ats584.jpg "/>
Eight, configure Linux
① the previous version, step five above does not have the OPENSSH key format option, you need to upload the generated public key to the Linux server and follow the command below.
1. Create a directory Mkdir/root/.ssh
2. Modify the properties chmod 700/root/.ssh
3. Create a file Touch/root/.ssh/authorized_keys
4. Convert key Ssh-keygen-i-F identity.pub >>/root/.ssh/authorized_keys
5. Modify the Properties chmod 600/root/.ssh/authorized_keys
6. Restart Service/etc/init.d/sshd Restart
② This case does not need to convert the key, directly copy the contents of the Identity.pub to/root/.ssh/authorized_keys
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/5A/D3/wKioL1T9yCTD3aXmAAMXvHFFFao353.jpg "style=" width : 762px;height:466px; "title=" configuration Information "width=" 762 "height=" 466 "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" Wkiol1t9yctd3axmaamxvhfffao353.jpg "/>
Nine, log in with a key
Select the public key setting, OK and then connect. In step three set the password required to fill in the password.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/5A/D8/wKiom1T9xwjjQmoSAAIu1lhYzkA151.jpg "style=" float: none; "title=" 11.png "alt=" Wkiom1t9xwjjqmosaaiu1lhyzka151.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/5A/D3/wKioL1T9yCahm_DPAAK4y7jyYXI218.jpg "style=" float: none; "title=" 12.png "alt=" Wkiol1t9ycahm_dpaak4y7jyyxi218.jpg "/>
X. SSH password login is forbidden.
Vi/etc/ssh/sshd_config
Modify Passwordauthentication Yes to the following content
Passwordauthentication No
This article is from the "Dream You want" blog, please be sure to keep this source http://zmyxn.blog.51cto.com/3029175/1618855
SECURECRT 7.1 key Telnet to Linux