ShadowsockServerUpdatePort
#!/usr/bin/env bash
sshpass -p "yourpassword" ssh root@$1 << EOF
#yum install python-setuptools && easy_install pip
#pip install shadowsocks
#sudo mkdir /etc/shadowsocks
echo '{"server":"0.0.0.0","server_port":$2,"local_address": "127.0.0.1","local_port":1080,"password":"yourpassword", "timeout":1200,"method":"aes-256-cfb","fast_open": true,"workers":3}' > /etc/shadowsocks/shadowsocks.json
ssserver -c /etc/shadowsocks/shadowsocks.json -d restart
EOF
- 随机毒鸡汤:心情不好的时候,去逛逛超市,能听到很多「好消息」。

版权声明:
作者:我是小小鸟
链接:https://blog.justdopay.top/219.html
来源:码海拾光
文章版权归作者所有,未经允许请勿转载。
作者:我是小小鸟
链接:https://blog.justdopay.top/219.html
来源:码海拾光
文章版权归作者所有,未经允许请勿转载。
THE END