SSH配置文件ssh_config和sshd_config有什么区别?ssh_config和sshd_config文件目录在哪?Linux百科网来详细说下SSH配置文件路径及ssh_config和sshd_config的区别:
SSH配置文件ssh_config和sshd_config
SSH配置文件有两个,即ssh_config和sshd_config。那么ssh_config和sshd_config有什么区别?ssh_config是客户端配置文件,sshd_config为服务端配置文件。
如果想要修改SSH默认22端口,需要修改sshd_config配置文件。
ssh_config和sshd_config配置文件路径在哪?目录如下:
- ssh_config:
/etc/ssh/sshd_config
- sshd_config:
/etc/ssh/ssh_config
2024阿里云服务器租用价格
①真便宜:阿里云2核2G服务器3M带宽61元1年,有高配(老用户99元)
②高性能:阿里云高性能云服务器配置优惠活动(多配置报价)
③代金券:在阿里云CLUB中心领券 aliyun.club 专用满减优惠券。