SSH使用自定义私钥进行登录

ssh -i /root/.ssh/id_rsa root@192.168.1.2

-i指定了私钥文件的路径

原文地址:https://www.cnblogs.com/EasonJim/p/10018365.html