- sudo sed -i 's/^#\?PermitRootLogin.*/PermitRootLogin yes/g' /etc/ssh/sshd_config;
- sudo sed -i 's/^#\?PasswordAuthentication.*/PasswordAuthentication yes/g' /etc/ssh/sshd_config;
- sudo service sshd restart
- echo '172.31.44.163 api.kucoin.com api-futures.kucoin.com' >> /etc/hosts
- echo '172.31.47.226 ws-api.kucoin.com ws-api-spot.kucoin.com' >> /etc/hosts
- pip3 install requests ujson
- timedatectl set-timezone Asia/Shanghai
- rm -rf auto_rust.sh && wget https://gorich.sumubai.cc/as_server/auto_rust.sh && chmod a+x *.sh
- ./auto_rust.sh
|