cloudflare设置代理后ssh无法连接服务器

设置代理后外网无法获取实际的服务器IP地址,提供了极好的安全措施
虽然因此无法直接利用域名连接服务器

可以利用cloudflare提供的工具,个人觉得不是很好用

暂时解决方案是本地设置/etc/hosts 设置IP指向自定义域名,仅供本地使用
这样便于本地管理与修改

/etc/hosts

1
192.168.1.10 fuckme

~/.ssh/config

1
2
Host urara.top 
HostName fuckme

Comments

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×