Linux修改ssh默认22端口
1、登录服务器,打开sshd_config文件 # vim /etc/ssh/sshd_config 2、找到#Port 22,默认是注释掉的,先把前面的#号去掉,再插入一行设置成你想要的端口号,注意不要跟现有端口号重复 # The strategy used for options in the default sshd_config shipped with ...
1、登录服务器,打开sshd_config文件 # vim /etc/ssh/sshd_config 2、找到#Port 22,默认是注释掉的,先把前面的#号去掉,再插入一行设置成你想要的端口号,注意不要跟现有端口号重复 # The strategy used for options in the default sshd_config shipped with ...
/*通过下列语句查询event是否开启*/ # SHOW VARIABLES LIKE 'event_scheduler'; /*或者*/ # SHOW VARIABLES LIKE '%sche%'; /*通过执行下列语句,来开启event_scheduler*/ # set global event_scheduler =1; /*或者*/ # set global event_scheduler=on; /*通过 ...