Fedora ssh服务,防火墙服务设置
2018-02-10 15:14
519 查看
Fedora26 ssh设置
ssh:connection to host 127,0.0.1 port22: Connection refused
首先安装openssh-server
yum install openssh-server
systemctl start sshd.service
查看服务状态:systemctl status sshd.service
停止服务
systemctl start sshd.service
设置开机自启–方式1
systemctl enable sshd.service
设置开机自启–方式2
chkconfig --level 3 sshd on
停止开机自启动
systemctl disable sshd.service
防火墙设置firewalld
开启firewall: systemctl start firewalld
查看状态:systemctl status firewalld
停止: systemctl disable firewalld
禁用: systemctl stop firewalld
iptables:
停止防火墙:
service iptables stop
启动防火墙:
service iptables start
相关文章推荐
- Fedora ssh服务,防火墙服务设置
- OpenSUSE下启动ssh和samba服务以及防火墙设置
- OpenSUSE下启动ssh和samba服务以及防火墙设置
- fedora21下ssh和防火墙设置
- [Linux] ubuntu开启SSH服务及防火墙设置
- msn无法登陆,防火墙设置阻止MSN的连接服务解决方法
- Ubuntu12.04LST 上搭建 TELNET服务 SSH服务 TFTP服务,NFS服务等基本命令,防火墙
- [转] ubuntu12.04 ssh服务的设置
- Ubuntu下静态IP设置、Samba服务器的搭建以及SSH服务搭建
- 安全的iptables防火墙配置(只开通SSH,WEB,DNS服务)
- 在Ubuntu 12.04安装和设置SSH服务
- Fedora防火墙设置
- ubuntu14下ssh和防火墙设置
- 设置Win10防火墙规则,使得局域网能访问此电脑的Tomcat服务
- 在Ubuntu 12.04安装和设置SSH服务
- 在Ubuntu 12.04安装和设置SSH服务
- 设置iptables允许ssh、http、ftp服务
- 在Ubuntu 12.04安装和设置SSH服务 2013-06-11 16:20:10
- 在Ubuntu 12.04安装和设置SSH服务
- BT5设置ssh服务