修改ssh端口方法:
[root@linux ~]# vi /etc/ssh/sshd_config
# $OpenBSD: sshd_config,v 1.69 2004/05/23 23:59:53 dtucker Exp $
# This is the sshd server system-wide configuration file. See
# sshd_config(5) for more information.
# This sshd was compiled with PATH=/usr/local/bin:/bin:/usr/bin
# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented. Uncommented options change a
# default value.
Port 8181 //以前这个前面是有 # 号的,而且默认是 22 ,修改成你喜欢的就ok了
#Protocol 2,1
#ListenAddress 0.0.0.0
#ListenAddress ::
# HostKey for protocol version 1
#HostKey /etc/ssh/ssh_host_key
# HostKeys for protocol version 2
#HostKey /etc/ssh/ssh_host_rsa_key
#HostKey /etc/ssh/ssh_host_dsa_key
nginx+php5+mysql一键安装脚本&一键反代+替换脚本
VPS一键安装包
Typecho详细搬家教程(解决500错误)
这篇教程主要介绍Typecho完整搬家换主机换域名,以及解决中间出现的500错误。废话不多说,马上开始。DA面板的请看这里,非DA面板或无面板请看这里。
DA面板操作
1.进入DA面板,点击“恢复/备份”
