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
相关文章
相关标签/搜索