ssh 不能远程连接 CentOS 7 主机的处理方法

整个暑假,我都不能使用 ssh 远程连接上我的 CentOS 7 主机,只能通过 TeamViewer 连接。尽管 TeamViewer 连接使用已经很好了,TeamViewer 需要直接使用图形化的传输,势必影响到连接的快慢。因此,还是需要解决使用 ssh 的问题。 几经周折,终于找到了问题所在。因此 CentOS 7 使用 firewalld 来管理网络安全问题,而原来是使用 iptables。因此,当从原来的 CentOS 6 迁移到 7 的时候,iptables 继续使用,而未开启 firewalld。最近一次升级,不知道怎么弄的,firewalld 自动开启,而造成 ssh 不能远程利用。Firewalld 默认情况下是开启 ssh 的,但是当我检查 22 端口时,这个端口却没有开启。因此,需要开启 22 端口,不再使用 iptables. [1@CentOS7 ~]$ Continue reading ssh 不能远程连接 CentOS 7 主机的处理方法

Connect ADSL Automatically and Email You Network Information

It’s time to enjoy winter holidays. However, teachers will be working for another two weeks. I’d like to use the computers in the lab when I am at home. I need to create an automatic job to do this work. Continue reading Connect ADSL Automatically and Email You Network Information