Ubuntu configuration SSH password-free login

  
        

ubuntu configuration SSH password-free login


1. Install SSH:


2. Whether to generate .ssh directory: <?喎�"http://www.2cto.com/kf/ware/vc/" target="_blank" class="keylink">vc3Ryb25nPjwvcD4KPHA+PC9wPgo8cD4gPGltZyBzcmM9"http://www.2cto. Com/uploadfile/Collfiles/20150121/20150121101845213.jpg" alt="\\">

3. If not generated, manually create a .ssh directory yourself:



The generated .ssh directory:



4. Generate public and private keys:


The effect is as follows:



5. Add the public key to the public key file for authentication:



6. Password-free login:


Effects:





Ubuntu password-free login, SSH configuration is complete.

Copyright © Windows knowledge All Rights Reserved