ssh使用默認及非默認22端口密鑰登陸

1、遠程服務器默認ssh端口爲22服務器 生成公鑰,路徑保持默認便可:dom [root@xuegod2 .ssh]# ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa):  /root/.ssh/id_rsa already exist
相關文章
相關標籤/搜索