SecureCRT log in using the key Ubuntu

By recording SecureCRT SSH using a key sign in Ubuntu.

Specific steps are as follows:

1. SecureCRT generate the key pair: 
    Tools -> Create public -> the RSA key type -> key format the OpenSSH 

2. uploaded to the Ubuntu public key: 
    the public key copied to the user directory .ssh 

Configuration sshd_config : 
    the sudo Vim / etc / ssh / the sshd_config 

4. modify or add as follows: 
    PubkeyAuthentication Yes 
    RSAAuthentication Yes 
    AuthorizedKeysFile .ssh / identity.pub 
    # prohibit the use of password may not be provided 
    PasswordAuthentication NO 

5. The server restart ssh: 
    the sudo / etc / the init. d / ssh restart

 

After all configuration is complete, you can use SecureCRT log in, log in as an unsuccessful public authority may be incorrect, it can be changed by the following commands.

chmod 600 Identity.pub

 

Guess you like

Origin www.cnblogs.com/GyForever1004/p/11408022.html