1、以root身份登錄主機
2、打開ssh服務器服務端的配置文件
vi /etc/ssh/sshd_config
3、將PermitRootLogin yes更改爲PermitRootLogin no
4、如果PermitRootLogin前有註釋#,需要取消該配置項前面的註釋#
5、修改完後,重啓sshd服務。命令:service sshd restart
1、以root身份登錄主機
2、打開ssh服務器服務端的配置文件
vi /etc/ssh/sshd_config
3、將PermitRootLogin yes更改爲PermitRootLogin no
4、如果PermitRootLogin前有註釋#,需要取消該配置項前面的註釋#
5、修改完後,重啓sshd服務。命令:service sshd restart
import requests data = { 'channel': '99x', 'called_number': '135xxx', 'tts_code': 'TTS_xx', 'tts_p