服務器配置ssh免密登陸

服務器配置ssh免密登陸 #使用ssh-keygen生成私鑰和公鑰 #參數 -t rsa 表示使用rsa算法進行加密 #參數 -b 指定密鑰長度。對於RSA密鑰,最小要求768位,默認是2048位。DSA密鑰必須剛好是1024位(FIPS 186-2 標準的要求)。 ssh-keygen -t rsa -b 2048 enter... #用ssh-copy-id將公鑰複製到遠程機器中 #ssh-c
相關文章
相關標籤/搜索