登录KiwiVM, 进入Main controls, 查看SSH Post, IP address, 然后本机命令执行
ssh -p
ssh -p
安装shadowsocks
yum install python-setuptools && easy_install pip
pip install shadowsocks
创建配置文件 /etc/shadowsocks.json
{
"server":"your_server_ip",
"server_port":8388,
"password":"yourpassword",
"timeout":300,
"method":"aes-256-cfb",
"fast_open":false,
"workers": 1
}
启动:
ssserver -c /etc/shadowsocks.json -d start
或不需要配置文件
sudo ssserver -p 443 -k password -m rc4-md5 --user nobody -d start
关闭:
ssserver -d stop