Create a user named Gates in the SSH client and, as gates, in his or her host directory. The key pair file in the. SSH hidden directory
2. Use SCP to copy the public key file Id_rsa.pub file in this directory to the host directory of the server on which you want to log on, and to create a hidden folder ". SSH" in the host directory, rename the public key file to Authorized_keys. and copied to the. SSH directory
Client (172.16.0.1):
This column more highlights: http://www.bianceng.cnhttp://www.bianceng.cn/Network/Security/
SSH server (172.16.0.2):
3. The client uses the root account SSH remote login SSH server verification key authentication
Gates user directly use SSH command without password login to 172.16.0.2 root account host Directory
This article comes from "All the Way North" blog, please be sure to keep this source http://showerlee.blog.51cto.com/2047005/1118362