摘要: 一.开启SSH1.确认SSH包已安装。2.确认防火墙没有拦截。3.确认SSH服务已启动。4.确认SSH配置文件设置正确。环境:SSH已安装,防火墙设置不清楚,SSH服务已启动,配置文件不清楚。查看防火墙:编辑文件/etc/sysconfig/SuSEfirewall2FW_SERVICES_EXT_TCP=""查找此处,确认防火墙阻止,修改为:FW_SERVICES_EXT_TCP="ssh"保存退出,重新启动防火墙:rcSuSEfirewall2 restart修改配置文件:vi /etc/ssh/sshd_configPasswordAuthenti 阅读全文
posted @ 2013-07-31 09:20 呵呵·· 阅读(2932) 评论(0) 推荐(0) 编辑
摘要: systemctl命令用法详解系统环境:Fedora16binpath:/bin/systemctlpackage:systemd-unitssystemctlenablehttpd.service将httpd服务设为开机自动启动systemctldisablehttpd.service禁止httpd服务开机自动启动systemctlstatushttpd.service查看httpd服务的运行状态//Loaded行中的enabled表示该服务是开机自动启动的,disable表示该服务不是开机自动启动的systemctlis-activehttpd.service检查httpd服务是否处于活动 阅读全文
posted @ 2013-07-31 09:04 呵呵·· 阅读(674) 评论(0) 推荐(0) 编辑