Linux配置使用SSH Key登陸並禁用root密碼登陸

一、root用戶登錄後,運行如下第一句指令,其餘根據提示進行輸入:shell [root@localhost ~]# ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): Enter passphrase (empty f
相關文章
相關標籤/搜索