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
2022阿里云又降价了!
①真便宜:阿里云2核4G服务器6M带宽68元1年,有高配(价格很低 值得买)
②高性能:阿里云企业级高性能云服务器特惠活动
③代金券:2022阿里云代金券一键领取中
免费提供技术支持: 咨询客服
发表评论