记一次配置win主机映射
记一此配置Win主机hosts
映射
因为主机一多起来以后,IP
记起来就比较麻烦,所以修改一下映射
修改文件位置,反正就是管理员运行修改工具,然后进行修改,保存到原来的位置即可
1 | C:\Windows\System32\drivers\etc\hosts |
快捷键win + R
,输入
1 | 127.0.0.1 controller |
这样子,如果目标主机开启了ssh
,就可以通过主机连接
All articles on this blog are licensed under CC BY-NC-SA 4.0 unless otherwise stated.