【ssh】win10指定私钥,远程连接linux服务器


1. 进入ssh目录,C:\Users\你自己的用户名\.ssh

2. 将免密的私钥复制到这台电脑上的 .ssh目录,例如叫:id_rsa_linux

3. 在ssh目录创建config文件

Host 192.168.1.100
    User test
    Hostname 192.168.1.100
    IdentityFile C:\Users\Administrator\.ssh\id_rsa_linux

4. 测试链接

ssh test@192.168.1.100

参考链接:

https://www.cnblogs.com/lowmanisbusy/p/12683943.html