Skip to content
On this page

SSH 密钥登录


标签:linux/tip  

在客户端生成密钥:

bash
ssh-keygen -t rsa -b 4096

拷贝到到服务器:

bash
echo id_rsa.pub >> ~/.ssh/authorized_keys

Last updated: