ShadowsockServerUpdatePort

作者 : 松哥资源 本文共646个字,预计阅读时间需要2分钟 发布时间: 2020-06-6 共169人阅读




示例标题

#!/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



  • 随机毒鸡汤:我对你要求不高,能跟我其他对象,和睦相处就好咯。


文章来源于justsoso.fun: ShadowsockServerUpdatePort





发表回复