CentOS7之开启ssh远程登录
2023-12-26 19:09:40
参考:https://www.cnblogs.com/travis-li/p/12550370.html
cd /etc/ssh/
# 修改配置
vim sshd_config
# 开启服务
sudo service sshd start
# 检查
ps -e | grep sshd
# 开机自启
systemctl enable sshd.service
# 查看(验证)开机自启服务
[root@localhost liangshijie]# systemctl list-unit-files | grep sshd
sshd-keygen.service static
sshd.service enabled
sshd@.service static
sshd.socket disabled
文章来源:https://blog.csdn.net/qq_38974073/article/details/135228150
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。 如若内容造成侵权/违法违规/事实不符,请联系我的编程经验分享网邮箱:veading@qq.com进行投诉反馈,一经查实,立即删除!
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。 如若内容造成侵权/违法违规/事实不符,请联系我的编程经验分享网邮箱:veading@qq.com进行投诉反馈,一经查实,立即删除!