ssh 免密配置笔记

$ ssh-keygen -t rsa -b 2048
Generating public/private rsa key pair.
Enter file in which to save the key (/home/username/.ssh/id_rsa): 
Enter passphrase (empty for no passphrase): 
Enter same passphrase again: 
Your identification has been saved in /home/username/.ssh/id_rsa.
Your public key has been saved in /home/username/.ssh/id_rsa.pub.


$ ssh-copy-id id@server
id@server's password: 
原文地址:https://www.cnblogs.com/tekikesyo/p/12197423.html