全心思齐网

怎么设置SSH secure shell client字符集?

先在SSH Secure Shell Client利用密码登陆自己的服务器获取公钥Edit → settings → keys选择Generate New...选择RSA,20后会生产生产公钥。下载公钥下载公钥到服务器 upload 后把destination的 .ssh2 改为.sshFile 和 Comment 可以自己设置,Passphrase 是利用公钥时需要验证的。查看和转化cd /etc/.ssh 查看公钥ssh-keygen -i -f ssh_secure.pub >> authorized_keyswindow ssh 转换成openssh 认识的格式修改sshd_config文件RSAAuthentication yes 开启RSA验证PubkeyAuthentication yes 使用公钥验证修改权限chmod 600 /root/.ssh/authorized_keys重新启动systemctl restart sshd使用public key 登陆public_key成功标志success

匿名回答于2024-06-02 13:32:55


相关知识问答