生成SSH私鑰和公鑰 ssh-keygen -t rsa 共鑰傳到服務(wù)器 ssh-copy-id username@remote-server 查看ubuntu信息 cat /proc/version uname -a lsb_release -a