打开C:\Windows\System32\drivers\etc
复制hosts文件到桌面
修改hosts文件最底下添加IP 指定hostsname
保存,剪切到原位置

win10进行SSH登录

ssh user@ip/hostsname