linux免密钥登陆 yuan lang 2024-03-21 辅助工具 linux 免密钥登陆 Quick Start生成了私钥 id_dsa 和公钥 id_dsa.pub1$ sudo apt install openssh-server 1$ ssh-keygen -t rsa 将该密钥用作认证,进行访问授权1$ cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys 登陆1$ ssh localhost