自己配置ssh登录服务器,在自己mac终端里面敲入相关命令后,显示:
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
用$ cat ~/.ssh/id_rsa.pub 命令可以知道自己的公钥,但是自己的私钥是什么应该如何查询呢?需要什么命令?
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
cat ~/.ssh/id_rsaYour identification has been saved in /root/.ssh/id_rsa.
你的身份验证已经被保存在/root/.ssh/id_rsa.
不过查看私钥没什么乱用。
cat ~/.ssh/id_rsa