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
发表评论